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

Prepare for the HashiCorp Terraform Associate Exam. Utilize flashcards and multiple-choice questions with detailed hints and explanations. Boost your confidence and be ready for success!

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