-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
FindSecurityGroupRulesBySecurityGroupID is failing for certain regions #33484
FindSecurityGroupRulesBySecurityGroupID is failing for certain regions #33484
Conversation
…or SC2S regions with Error: reading Security Group (sg-xxxxxx) Rules: UnsupportedOperation: The functionality you requested is not available in this region. Similar to other checks, skip this check if it is a govcloud or AWS China region.
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @barbacbd 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
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 🚀.
% make testacc TESTARGS='-run=TestAccVPCSecurityGroupRule_egress$$\|TestAccVPCSecurityGroupRule_Ingress_vpc' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccVPCSecurityGroupRule_egress$\|TestAccVPCSecurityGroupRule_Ingress_vpc -timeout 360m
=== RUN TestAccVPCSecurityGroupRule_Ingress_vpc
=== PAUSE TestAccVPCSecurityGroupRule_Ingress_vpc
=== RUN TestAccVPCSecurityGroupRule_egress
=== PAUSE TestAccVPCSecurityGroupRule_egress
=== CONT TestAccVPCSecurityGroupRule_Ingress_vpc
=== CONT TestAccVPCSecurityGroupRule_egress
=== NAME TestAccVPCSecurityGroupRule_Ingress_vpc
vpc_security_group_rule_test.go:124: Step 2/2 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
map[string]string{
+ "description": "",
}
=== NAME TestAccVPCSecurityGroupRule_egress
vpc_security_group_rule_test.go:327: Step 2/2 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
map[string]string{
+ "description": "",
}
--- FAIL: TestAccVPCSecurityGroupRule_Ingress_vpc (26.61s)
--- FAIL: TestAccVPCSecurityGroupRule_egress (26.88s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/ec2 37.731s
FAIL
make: *** [testacc] Error 1
Failures are unrelated to this change.
@barbacbd Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.34.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. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
FindSecurityGroupRulesBySecurityGroupID is failing as Not Supported for SC2S regions with
Similar to other checks, skip this check if it is a govcloud or AWS China region.
Relations
Closes #33474
References
https://issues.redhat.com/browse/OCPBUGS-18830