-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
add read/list methods for ec2 security-groups resource provider #12034
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
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 24s ⏱️ - 1h 54m 48s Results for commit 7bd94f6. ± Comparison against base commit 1dba4f3. This pull request removes 3878 tests.
♻️ This comment has been updated with latest results. |
664b452
to
e45c429
Compare
29d5b28
to
1d56ade
Compare
if custom_id: | ||
# Remove the security group from the default dict and add it back with the custom id | ||
self.groups[vpc_id].pop(result.group_id) | ||
self.groups[result.vpc_id].pop(result.group_id) | ||
result.group_id = result.id = custom_id | ||
self.groups[vpc_id][custom_id] = result |
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.
The patched method already searches for the default VpcId and assigns it to the SG
299e448
to
ecf6707
Compare
Motivation
This PR adds the Operations for READ and LIST to the Resource Provider for AWS::Ec2::SecurityGroup
cc/ @cloutierMat @simonrw
Changes
Testing