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

tests/resource/aws_waf_web_acl: Remove hardcoded environment variable handling #16045

Merged
merged 1 commit into from
Nov 6, 2020

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Nov 5, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Reference: #8316
Reference: #15737

Release note for CHANGELOG:

NONE

Previously in AWS GovCloud (US):

=== CONT  TestAccAWSWafWebAcl_LoggingConfiguration
TestAccAWSWafWebAcl_LoggingConfiguration: provider_test.go:184: [{0 error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
  status code: 403, request id: 525f91fb-c193-46b4-861a-9cabab7f4303  []}]
--- FAIL: TestAccAWSWafWebAcl_LoggingConfiguration (0.38s)

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSWafWebAcl_LoggingConfiguration (115.97s)

Output from acceptance testing in AWS GovCloud (US):

--- SKIP: TestAccAWSWafWebAcl_LoggingConfiguration (24.06s)

… handling

Reference: #8316
Reference: #15737

Previously in AWS GovCloud (US):

```
=== CONT  TestAccAWSWafWebAcl_LoggingConfiguration
TestAccAWSWafWebAcl_LoggingConfiguration: provider_test.go:184: [{0 error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
  status code: 403, request id: 525f91fb-c193-46b4-861a-9cabab7f4303  []}]
--- FAIL: TestAccAWSWafWebAcl_LoggingConfiguration (0.38s)
```

Output from acceptance testing in AWS Commercial:

```
--- PASS: TestAccAWSWafWebAcl_LoggingConfiguration (115.97s)
```

Output from acceptance testing in AWS GovCloud (US):

```
--- SKIP: TestAccAWSWafWebAcl_LoggingConfiguration (24.06s)
```
@bflad bflad added the technical-debt Addresses areas of the codebase that need refactoring or redesign. label Nov 5, 2020
@bflad bflad requested a review from a team as a code owner November 5, 2020 14:14
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/waf Issues and PRs that pertain to the waf service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 5, 2020
Copy link
Member

@YakDriver YakDriver left a comment

Choose a reason for hiding this comment

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

Cool!

GovCloud:

    resource_aws_waf_rule_test.go:421: skipping acceptance testing: RequestError: send request failed
        caused by: Post "https://waf.us-gov-west-1.amazonaws.com/": dial tcp: lookup waf.us-gov-west-1.amazonaws.com: no such host
--- SKIP: TestAccAWSWafWebAcl_LoggingConfiguration (25.04s)

Comm:

--- PASS: TestAccAWSWafWebAcl_LoggingConfiguration (80.13s)

@bflad bflad added this to the v3.14.1 milestone Nov 6, 2020
@bflad bflad merged commit 6328475 into master Nov 6, 2020
@bflad bflad deleted the t-aws_waf_web_acl-hardcoded-region branch November 6, 2020 18:07
@ghost
Copy link

ghost commented Nov 6, 2020

This has been released in version 3.14.1 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Dec 7, 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 as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/waf Issues and PRs that pertain to the waf service. size/M Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants