Merge pull request #1529 from snyk/chore/typo_provider_error

chore: fix a typo in provider init error
main
Raphaël 2022-06-07 15:16:59 +04:00 committed by GitHub
commit 0aee3312b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func (p *AWSTerraformProvider) CheckCredentialsExist() error {
if err == credentials.ErrNoValidProvidersFoundInChain { if err == credentials.ErrNoValidProvidersFoundInChain {
return errors.New("Could not find a way to authenticate on AWS!\n" + return errors.New("Could not find a way to authenticate on AWS!\n" +
"Please refer to AWS documentation: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html\n\n" + "Please refer to AWS documentation: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html\n\n" +
"To use a different cloud provider, use --to=\"tf+gcp\" for GCP or --to=\"tf+azure\" for Azure.") "To use a different cloud provider, use --to=\"gcp+tf\" for GCP or --to=\"azure+tf\" for Azure.")
} }
if err != nil { if err != nil {
return err return err