terraform-associate question 325 discussion

View all HashiCorp Certified: Terraform Associate Exam here
back to hashicorp forum

Question 325

When using providers that require the retrieval of data, such as the HashiCorp Vault provider, in what
phase does Terraform actually retrieve the data required?

  • A. terraform delete
  • B. terraform plan
  • C. terraform init
  • D. terraform apply
Answer:

C


User Votes:
A
50%
B 1 votes
50%
C
50%
D 1 votes
50%
Discussions
0 / 1000
nassimaelferkhsi
1 month, 3 weeks ago

When using providers like the HashiCorp Vault provider, which require the retrieval of data, Terraform retrieves that data during the terraform plan phase. During the planning phase, Terraform queries the data sources defined in the configuration (e.g., Vault, AWS, etc.) to gather the necessary information that will be used in the execution plan