BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam TA-002-P Topic 15 Question 4 Discussion

Actual exam question for HashiCorp's TA-002-P exam
Question #: 4
Topic #: 15
[All TA-002-P Questions]

Terraform must track metadata such as resource dependencies. Where is this data stored?

Show Suggested Answer Hide Answer
Suggested Answer: C

Terraform typically uses the configuration to determine dependency order. However, when you delete a resource from a Terraform configuration, Terraform must know how to delete that resource. Terraform can see that a mapping exists for a resource not in your configuration and plan to destroy. However, since the configuration no longer exists, the order cannot be determined from the configuration alone.

To ensure correct operation, Terraform retains a copy of the most recent set of dependencies within the state. Now Terraform can still determine the correct order for destruction from the state when you delete one or more items from the configuration.

https://www.terraform.io/docs/state/purpose.html#metadata


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel