Question 470
A reliability team wants to let resources in one module share a provider's configured credentials and region. Which of the following is the most appropriate Terraform capability?
Explanation
Correct Answer
Default provider configuration avoids duplicating connection settings. This meets the stated requirement to let resources in one module share a provider's configured credentials and region.
Incorrect Answers
Provider namespace address is intended to install the correct independently published provider of a given type; source addresses disambiguate publishers and package identities. That is not the specific requirement to let resources in one module share a provider's configured credentials and region.
Provider plugin binary is intended to translate a Terraform resource operation into a vendor API interaction; providers mediate between Terraform Core and remote APIs. That is not the specific requirement to let resources in one module share a provider's configured credentials and region.
Aliased provider configuration is intended to connect one module to two independently configured accounts of the same platform; aliases permit multiple configurations of a single provider plugin. That is not the specific requirement to let resources in one module share a provider's configured credentials and region.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests