When does Sentinel enforce policy logic during a Terraform Enterprise run?

Prepare for the HashiCorp Terraform Associate Exam with quizzes, flashcards, and multiple-choice questions. Each question includes hints and explanations. Boost your confidence and ace your exam!

Multiple Choice

When does Sentinel enforce policy logic during a Terraform Enterprise run?

Explanation:
Policy enforcement gates Terraform runs by evaluating the policy decisions before any changes are applied. In a Terraform Enterprise run, a plan is generated and then Sentinel checks the policy logic against that plan. If all policies pass, the apply proceeds; if any policy fails, the apply is blocked and no changes are made. This means enforcement happens before the apply phase, not before planning, not after applying.

Policy enforcement gates Terraform runs by evaluating the policy decisions before any changes are applied. In a Terraform Enterprise run, a plan is generated and then Sentinel checks the policy logic against that plan. If all policies pass, the apply proceeds; if any policy fails, the apply is blocked and no changes are made. This means enforcement happens before the apply phase, not before planning, not after applying.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy