-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/service/rds: Remove hardcoded us-east-1 environment variable ha…
…ndling Reference: #8316 Reference: #15791 Previously in AWS Commercial: ``` === CONT TestAccAWSDBInstance_ec2Classic TestAccAWSDBInstance_ec2Classic: resource_aws_db_instance_test.go:2242: Step 1/1 error: Error running apply: 2020/11/02 10:23:21 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.10.0 Error: Error creating DB Instance: InsufficientDBInstanceCapacity: Cannot create a db.t3.micro database instance because there are no availability zones with sufficient capacity for non-VPC and storage type : standard for db.t3.micro. Please try the request again at a later time. status code: 400, request id: cb437def-f533-4894-874a-235bef9fe874 --- FAIL: TestAccAWSDBInstance_ec2Classic (11.36s) ``` Previously in AWS GovCloud (US): ``` === CONT TestAccAWSDbInstanceDataSource_ec2Classic TestAccAWSDbInstanceDataSource_ec2Classic: 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: 4f3cfbfa-bc43-46bd-8834-5eeb10cc4fc9 []}] --- FAIL: TestAccAWSDbInstanceDataSource_ec2Classic (0.49s) === CONT TestAccAWSDBInstance_ec2Classic TestAccAWSDBInstance_ec2Classic: 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: 2af3b934-784b-43e5-8e67-38b7b7333b94 []}] --- FAIL: TestAccAWSDBInstance_ec2Classic (0.38s) === CONT TestAccAWSDBSecurityGroup_basic TestAccAWSDBSecurityGroup_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: 2ac5b1af-30f7-4c64-81d8-0cf983ce035b []}] --- FAIL: TestAccAWSDBSecurityGroup_basic (0.33s) ``` Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSDbInstanceDataSource_ec2Classic (452.57s) --- PASS: TestAccAWSDBInstance_ec2Classic (496.81s) --- PASS: TestAccAWSDBSecurityGroup_basic (35.95s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- SKIP: TestAccAWSDbInstanceDataSource_ec2Classic (2.84s) --- SKIP: TestAccAWSDBInstance_ec2Classic (2.81s) --- SKIP: TestAccAWSDBSecurityGroup_basic (2.72s) ```
- Loading branch information
Showing
4 changed files
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters