HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #109
When does Sentinel enforce policy logic during a Terraform Cloud run?
The correct answer is C. Before the apply phase. Sentinel policies are checked after the plan stage of a Terraform run, but before it can be confirmed or the terraform apply is executed. This allows you to enforce rules on your infrastructure before it is created or modified.
Understand Terraform Cloud capabilities
Question
When does Sentinel enforce policy logic during a Terraform Cloud run?
Options
- ABefore the plan phase
- BDuring the plan phase
- CBefore the apply phase
- DAfter the apply phase
How the community answered
(31 responses)- A3% (1)
- B6% (2)
- C74% (23)
- D16% (5)
Explanation
Sentinel policies are checked after the plan stage of a Terraform run, but before it can be confirmed or the terraform apply is executed. This allows you to enforce rules on your infrastructure before it is created or modified.
Topics
#Sentinel#policy enforcement#Terraform Cloud#run phases
Community Discussion
No community discussion yet for this question.