Question 180
An operations engineer sees an authentication failure while refreshing a provider-managed resource, even though Terraform syntax validates. Which action most directly satisfies the requirement in this situation?
Explanation
Correct Answer
Provider configurations control connectivity and authentication to external services. Provider API requests succeed after authentication is configured appropriately.
Incorrect Answers
State operations should use Terraform-aware tools, not arbitrary JSON editing. Provider API requests succeed after authentication is configured appropriately.
Multiple provider types can coexist in one Terraform configuration. Correct the provider's credential/configuration context for the target service.
Provider installation and dependency selection occur during initialization, not during terraform fmt. Provider configurations control connectivity and authentication to external services.