Error: no valid credential sources for S3 Backend found

From wikieduonline
(Redirected from NoCredentialProviders)
Jump to navigation Jump to search
╷
│ Error: error configuring S3 Backend: no valid credential sources for S3 Backend found.
│
│ Please see https://www.terraform.io/docs/language/settings/backends/s3.html
│ for more information about providing credentials.
│
│ Error: NoCredentialProviders: no valid providers in chain. Deprecated.
│       For verbose messaging see aws.Config.CredentialsChainVerboseErrors
│
│
│
╵
Solution: review that your profile name in backend s3 in terraform.tf match your profile configuration in .aws/config


kubectl get pods
could not get token: NoCredentialProviders: no valid providers in chain. Deprecated. 
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Related terms[edit]

See also[edit]

Advertising: