What is the result of deleting a Project in HCP Terraform?
Trap 1: The workspaces are moved to a 'default' project.
Workspaces are destroyed if not moved.
Trap 2: The workspaces are unassigned but remain.
They must be moved before deletion or they are removed.
- A
The workspaces are deleted as well.
Deleting a project is a cascading action that removes its contents.
- B
The workspaces are moved to a 'default' project.
Why wrong: Workspaces are destroyed if not moved.
- C
The action is blocked until workspaces are empty.
Correction: The UI typically prevents project deletion if it contains active workspaces.
- D
The action is blocked until workspaces are removed.
Wait, let's re-verify: A project cannot be deleted if it contains workspaces. Correct.
- E
The system prevents the deletion until all workspaces are moved or deleted.
HCP Terraform enforces that projects must be empty before deletion.
- F
The workspaces are unassigned but remain.
Why wrong: They must be moved before deletion or they are removed.