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/data-source/aws_pricing_product: Remove hardcoded us-east-1 handling #16040

Merged
merged 1 commit into from
Nov 11, 2020

Commits on Nov 5, 2020

  1. tests/data-source/aws_pricing_product: Remove hardcoded us-east-1 han…

    …dling
    
    Reference: #8316
    Reference: #15737
    
    Previously in AWS GovCloud (US):
    
    ```
    === CONT  TestAccDataSourceAwsPricingProduct_ec2
    TestAccDataSourceAwsPricingProduct_ec2: 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: bc4d07ae-04d0-4fad-b695-5ef067be32ee  []}]
    --- FAIL: TestAccDataSourceAwsPricingProduct_ec2 (0.41s)
    
    === CONT  TestAccDataSourceAwsPricingProduct_redshift
    TestAccDataSourceAwsPricingProduct_redshift: 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: 0871bc77-35ba-4dbe-aa49-7a54304986ce  []}]
    --- FAIL: TestAccDataSourceAwsPricingProduct_redshift (0.38s)
    ```
    
    Output from acceptance testing in AWS Commercial:
    
    ```
    --- PASS: TestAccDataSourceAwsPricingProduct_ec2 (18.23s)
    --- PASS: TestAccDataSourceAwsPricingProduct_redshift (18.42s)
    ```
    
    Output from acceptance testing in AWS GovCloud (US):
    
    ```
    --- SKIP: TestAccDataSourceAwsPricingProduct_ec2 (1.54s)
    --- SKIP: TestAccDataSourceAwsPricingProduct_redshift (1.54s)
    ```
    bflad committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    51a46ec View commit details
    Browse the repository at this point in the history