Error: configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
Jump to navigation
Jump to search
Solution: add a profile with proper authentication configured.
provider "aws" { region = "us-west-2" profile = "your-profile-name" }
Related[edit]
- provider.tf
- terraform plan
Error: configuring Terraform AWS Provider: failed to get shared config profile
- AWS Error: failed to refresh cached credentials, refresh cached SSO token failed, unable to refresh SSO token, operation error SSO OIDC: CreateToken, https response error StatusCode: 400, RequestID: 12132321321, InvalidGrantException:
See also[edit]
terraform plan
: [-refresh-only | -lock=false
|-target
|-var-file
|will be created
|--help
], Terraform plan errors, Terraform plan examples, Terraform plan execution errors, (known after apply)- Terraform Cloud:
terraform login, credentials.tfrc.json, TF_CLOUD_ORGANIZATION
- 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: