In Terraform, is it true that only the user who generated a plan may apply it?

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

In Terraform, is it true that only the user who generated a plan may apply it?

Explanation:
The key idea is that applying a plan isn’t tied to the person who generated it. A Terraform plan describes the changes to be made, and the apply step uses that plan to execute those changes. Any user who has access to the same Terraform state and the plan artifact can apply it, whether that’s by using a saved plan file in the CLI or by triggering a run in Terraform Cloud/Enterprise. Access controls and permissions at the workspace or backend level determine who can perform the apply, not the identity of the plan’s creator. The provider itself doesn’t enforce plan-owner-only applies.

The key idea is that applying a plan isn’t tied to the person who generated it. A Terraform plan describes the changes to be made, and the apply step uses that plan to execute those changes. Any user who has access to the same Terraform state and the plan artifact can apply it, whether that’s by using a saved plan file in the CLI or by triggering a run in Terraform Cloud/Enterprise. Access controls and permissions at the workspace or backend level determine who can perform the apply, not the identity of the plan’s creator. The provider itself doesn’t enforce plan-owner-only applies.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy