Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 265

When using multiple configurations of the same Terraform provider, what meta-argument must be included in any non-default provider configurations?

    Correct Answer: B

    When using multiple configurations of the same Terraform provider, the meta-argument 'alias' must be included in any non-default provider configurations. This allows Terraform to distinguish between the multiple provider instances and ensure that the correct configuration is used for the appropriate resources.

Discussion
DevoteamAnalytixOption: B

https://developer.hashicorp.com/terraform/language/providers/configuration#alias-multiple-provider-configurations

Sam1101Option: B

To create multiple configurations for a given provider, include multiple provider blocks with the same provider name. For each additional non-default configuration, use the alias meta-argument to provide an extra name segment.