iann0036 / AWSConsoleRecorder

Records actions made in the AWS Management Console and outputs the equivalent CLI/SDK commands and CloudFormation/Terraform templates.
MIT License
1.42k stars 87 forks source link

Support for capturing create and modify of SG and rules #52

Open sumitag opened 4 years ago

sumitag commented 4 years ago

Is your feature request related to a problem? Please describe. We use a third party software to lock Security Group modifications and I wanted to capture and create the cross referenced SGs with the CLI, so that it can be done quickly enough to avoid the third party system picking up the original SG and then treat it as modified.

Describe the solution you'd like Capture the SG create and update commands

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Only describe-security-groups calls were captured

iann0036 commented 4 years ago

Hey @sumitag,

Thanks for raising. I'm assuming this is under the "New EC2 Experience" (top-left corner)?

If so, I've added the mappings to the latest version, 0.3.35, however be aware this may take a couple of days to be reviewed / approved / published by Google and Mozilla.

sumitag commented 4 years ago

Thanks I can verify that this is now working with the new version, I had completely forgotten about the change in interface and that would have been a good enough workaround.

One thing that I did notice with the recording, it doesn't seem to capture any actions that remove rules from security groups.