Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove AWS Provider verbiage from error messaging #24

Closed
bflad opened this issue May 29, 2020 · 0 comments · Fixed by #42
Closed

Remove AWS Provider verbiage from error messaging #24

bflad opened this issue May 29, 2020 · 0 comments · Fixed by #42
Assignees
Labels
bug Something isn't working
Milestone

Comments

@bflad
Copy link
Contributor

bflad commented May 29, 2020

Version

v0.5.0

Description

This library is shared between both the Terraform S3 Backend (currently baked into the Terraform CLI) and Terraform AWS Provider. When the "No valid credential sources" error is thrown, it is currently hardcoded to say "AWS Provider":

terraform {
  backend "s3" {
    bucket = "example"
    key    = "example"
    region = "us-east-1"
  }
}
$ terraform init
Error: No valid credential sources found for AWS Provider.
	Please see https://terraform.io/docs/providers/aws/index.html for more information on
	providing credentials for the AWS Provider

References

@bflad bflad added the bug Something isn't working label May 29, 2020
@bflad bflad added this to the v0.6.0 milestone May 29, 2020
@bflad bflad self-assigned this May 29, 2020
@bflad bflad linked a pull request Jun 2, 2020 that will close this issue
bflad added a commit that referenced this issue Jun 3, 2020
Reference: #24

Callers can configure their name and documentation URL to properly customize the error messaging.
bflad added a commit that referenced this issue Jun 3, 2020
Reference: #24

Callers can configure their name and documentation URL to properly customize the error messaging.
@bflad bflad closed this as completed in #42 Jun 3, 2020
bflad added a commit that referenced this issue Jun 3, 2020
* Introduce Go 1.13 compatible error types

Reference: #24

Callers can configure their name and documentation URL to properly customize the error messaging.

* Add is error type helpers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant