-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
[AWS] List AWS Security Group #1456
Comments
You can use AWS SDK functions in Go, combined with Terratest, to achieve this. import (
) var regions = []string{"us-east-1", "us-west-2"} // Add all regions you want to query func getSecurityGroupInfoAllRegions(t *testing.T) []map[string]string {
} func getSecurityGroupTags(t *testing.T, ec2Svc *ec2.EC2, sgID string) string {
} func TestSecurityGroupInfoAllRegions(t *testing.T) { |
Is there any functions in terratest to list the aws security group i do not see any existing functionality to do that, if there is one appreciate if more information can be provided for the same
The text was updated successfully, but these errors were encountered: