HashiCorp Certified: Terraform Associate — Question 169
When using multiple configurations of the same Terraform provider, what meta-argument must be included in any non-default provider configurations?
Answer options
- A. depends_on
- B. alias
- C. id
- D. name
Correct answer: B
Explanation
The correct answer is B, 'alias', because when you have multiple configurations of the same provider in Terraform, each non-default configuration must be given a unique alias to differentiate it. The other options, such as 'depends_on', 'id', and 'name', do not serve this purpose and are not required for non-default provider configurations.