Question 420
An implementation review finds that a hosting-services team must translate a Terraform resource operation into a vendor API interaction. Which solution is defensible?
Explanation
Correct Answer
Providers mediate between Terraform Core and remote APIs. This meets the stated requirement to translate a Terraform resource operation into a vendor API interaction.
Incorrect Answers
Provider configuration inheritance is intended to let resources in one module share a provider's configured credentials and region; default provider configuration avoids duplicating connection settings. That is not the specific requirement to translate a Terraform resource operation into a vendor API interaction.
Resource type schema is intended to discover which arguments a cloud instance resource requires; schemas come from provider implementations instead of Terraform Core. That is not the specific requirement to translate a Terraform resource operation into a vendor API interaction.
Data source schema is intended to query an existing platform object without asking Terraform to create it; data sources retrieve details of remote objects for expressions. That is not the specific requirement to translate a Terraform resource operation into a vendor API interaction.






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