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_region: Remove hardcoded us-east-1 handling #16024

Merged
merged 1 commit into from
Nov 11, 2020

Commits on Nov 4, 2020

  1. tests/data-source/aws_region: Remove hardcoded us-east-1 handling

    Reference: #8316
    Reference: #15737
    
    Previously in AWS GovCloud (US):
    
    ```
    === CONT  TestAccDataSourceAwsRegion_basic
    TestAccDataSourceAwsRegion_basic: provider_test.go:196: [{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: f02b1c17-7e7d-4e95-ae14-2e02a2f785f4  []}]
    --- FAIL: TestAccDataSourceAwsRegion_basic (0.54s)
    
    === CONT  TestAccDataSourceAwsRegion_endpoint
    TestAccDataSourceAwsRegion_endpoint: provider_test.go:196: [{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: 74c054be-32b1-432f-b338-3211315ed76c  []}]
    --- FAIL: TestAccDataSourceAwsRegion_endpoint (0.50s)
    
    === CONT  TestAccDataSourceAwsRegion_endpointAndName
    TestAccDataSourceAwsRegion_endpointAndName: provider_test.go:196: [{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: 1527b1e9-a329-43f7-b37e-f3a8da479861  []}]
    --- FAIL: TestAccDataSourceAwsRegion_endpointAndName (0.51s)
    
    === CONT  TestAccDataSourceAwsRegion_name
    TestAccDataSourceAwsRegion_name: provider_test.go:196: [{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: eef98021-bbe9-46f0-bb2a-4649a0b808dd  []}]
    --- FAIL: TestAccDataSourceAwsRegion_name (0.43s)
    ```
    
    Output from acceptance testing in AWS Commercial:
    
    ```
    --- PASS: TestAccDataSourceAwsRegion_basic (13.01s)
    --- PASS: TestAccDataSourceAwsRegion_name (14.91s)
    --- PASS: TestAccDataSourceAwsRegion_endpoint (14.92s)
    --- PASS: TestAccDataSourceAwsRegion_endpointAndName (14.94s)
    ```
    
    Output from acceptance testing in AWS GovCloud (US):
    
    ```
    --- PASS: TestAccDataSourceAwsRegion_basic (17.09s)
    --- PASS: TestAccDataSourceAwsRegion_name (19.02s)
    --- PASS: TestAccDataSourceAwsRegion_endpoint (19.04s)
    --- PASS: TestAccDataSourceAwsRegion_endpointAndName (19.05s)
    ```
    bflad committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    12181f2 View commit details
    Browse the repository at this point in the history