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

provider: WARN log instead of returning error with AWS account ID lookup logic #5794

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Sep 5, 2018

Reinstates provider behavior previous to version 1.31.0 which silently allowed AWS account ID lookup failures during initialization. Since missing the AWS account ID in the provider has implications for quite a few data sources and resources, we will return the error in the next major version of the provider.

Fixes #5584
Fixes #5496

Changes proposed in this pull request:

  • Replace error from provider AWS account ID lookup with WARN log message
  • Add information about change in behavior to Version 2 Upgrade Guide

Output from acceptance testing: (provided as a smoke test)

--- PASS: TestAccAWSAvailabilityZones_basic (10.39s)

…kup logic

Reinstates provider behavior previous to version 1.31.0 which silently allowed AWS account ID lookup failures during initialization. Since missing the AWS account ID in the provider has implications for quite a few data sources and resources, we will return the error in the next major version of the provider.

* Replace error from provider AWS account ID lookup with WARN log message
* Add information about change in behavior to Version 2 Upgrade Guide
@bflad bflad added bug Addresses a defect in current functionality. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. provider Pertains to the provider itself, rather than any interaction with AWS. labels Sep 5, 2018
@bflad bflad requested a review from a team September 5, 2018 14:39
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@bflad bflad added this to the v1.35.0 milestone Sep 5, 2018
@bflad bflad merged commit 15dfa35 into master Sep 5, 2018
@bflad bflad deleted the b-provider-skip_requesting_account_id-error branch September 5, 2018 14:54
bflad added a commit that referenced this pull request Sep 5, 2018
… failure

Followup to: #5794

This change is already noted in the Version 2 Upgrade Guide.
@ghost
Copy link

ghost commented Apr 3, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. provider Pertains to the provider itself, rather than any interaction with AWS. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
Projects
None yet
2 participants