Difference between revisions of "Error: Invalid provider configuration"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
== Related == | == Related == | ||
* <code>[[Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.]]</code> | * <code>[[Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.]]</code> | ||
+ | * <code>[[~/.aws/config]]</code> | ||
+ | * <code>[[~/.aws/credentials]]</code> | ||
== See also == | == See also == |
Revision as of 08:14, 17 November 2022
╷ │ Error: Invalid provider configuration │ │ Provider "registry.terraform.io/hashicorp/aws" requires explicit configuration. Add a | provider block to the root module and configure the provider's required arguments as | described in the provider documentation. │ ╵
Solution: review your AWS_PROFILE variable and provider.tf
is properly configured
Related
Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
~/.aws/config
~/.aws/credentials
See also
terraform
[untaint | fmt
|apply
|show
|state
|init | plan | console | output
|validate
|destroy
|debug
|import
|providers
|get
|graph
|workspaces
|resource
|login
|-var-file
|state mv
|state pull
|state push
|state replace-provider
|state rm
|force-unlock
|env
|tfe
|--version
|remote-exec
|delete on termination
| deprecated commands |terraform --help
]- Terraform provider:
AWS, Cloudflare
,GoogleWorkspace
,Kubernetes, Helm, .terraform/providers/
,template
,tfe
,providers.tf, dns, hashicorp/, hashicorp/tls
, Terraform provider versioning, Libvirt, datadog,terraform providers, required_version, onepassword
,rancher2
,time, terraform.tf
Advertising: