What kind of resour...
 
Notifications
Clear all

What kind of resource dependency is stored in terraform.tfstate file?

1 Posts
1 Users
0 Likes
87 Views
(@goyrocky)
Posts: 726
Noble Member
Topic starter
 

What kind of resource dependency is stored in terraform.tfstate file?

  • A . Both implicit and explicit dependencies are stored in state file.
    B. Only explicit dependencies are stored in state file.
    C. Only implicit dependencies are stored in state file.
    D. No dependency information is stored in state file.

Show Answer Hide Answer

Suggested Answer: A

Explanation:

Terraform state captures all dependency information, both implicit and explicit. One purpose for state is to determine the proper order to destroy resources. When resources are created all of their dependency information is stored in the state. If you destroy a resource with dependencies, Terraform can still determine the correct destroy order for all other resources because the dependencies are stored in the state.

https://www.terraform.io/docs/state/purpose.html#metadata
 
Posted : 13/02/2023 11:29 am

Latest TA-002-P V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: