-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Acceptance test import refactor for redshift resources #9984
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeamCity acceptance testing is not happy with the new import test steps for the non-basic tests since they do not have test/Terraform configuration to inform them to run in us-east-1
:
--- FAIL: TestAccAWSRedshiftSecurityGroup_ingressCidr (13.78s)
testing.go:569: Step 1 error: Error retrieving Redshift Security Groups: InvalidParameterValue: VPC-by-Default customers cannot use cluster security groups
--- FAIL: TestAccAWSRedshiftSecurityGroup_ingressSecurityGroup (16.38s)
testing.go:569: Step 1 error: Error retrieving Redshift Security Groups: InvalidParameterValue: VPC-by-Default customers cannot use cluster security groups
--- FAIL: TestAccAWSRedshiftSecurityGroup_updateIngressCidr (16.13s)
testing.go:569: Step 1 error: Error retrieving Redshift Security Groups: InvalidParameterValue: VPC-by-Default customers cannot use cluster security groups
--- FAIL: TestAccAWSRedshiftSecurityGroup_updateIngressSecurityGroup (19.71s)
testing.go:569: Step 1 error: Error retrieving Redshift Security Groups: InvalidParameterValue: VPC-by-Default customers cannot use cluster security groups
My recommendations would be to either add the Config
of the previous step to each of these new import test steps or remove the hardcoded provider "aws"
configurations and copy the AWS_DEFAULT_REGION
environment variable handling from the basic test to the others for consistency. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
--- PASS: TestAccAWSRedshiftParameterGroup_basic (10.59s)
--- PASS: TestAccAWSRedshiftParameterGroup_withoutParameters (11.26s)
--- PASS: TestAccAWSRedshiftParameterGroup_withParameters (10.74s)
--- PASS: TestAccAWSRedshiftParameterGroup_withTags (21.62s)
--- PASS: TestAccAWSRedshiftSecurityGroup_basic (8.51s)
--- PASS: TestAccAWSRedshiftSecurityGroup_ingressCidr (8.78s)
--- PASS: TestAccAWSRedshiftSecurityGroup_ingressSecurityGroup (9.87s)
--- PASS: TestAccAWSRedshiftSecurityGroup_updateIngressCidr (17.49s)
--- PASS: TestAccAWSRedshiftSecurityGroup_updateIngressSecurityGroup (20.32s)
--- PASS: TestAccAWSRedshiftSubnetGroup_basic (14.06s)
--- PASS: TestAccAWSRedshiftSubnetGroup_tags (20.00s)
--- PASS: TestAccAWSRedshiftSubnetGroup_updateDescription (20.47s)
--- PASS: TestAccAWSRedshiftSubnetGroup_updateSubnetIds (21.29s)
This has been released in version 2.30.0 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! |
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! |
Community Note
Relates #8944
Release note for CHANGELOG:
Output from acceptance testing: