https://github.com/babakdoraniarab/sg
security group name and id finder
https://github.com/babakdoraniarab/sg
aws cli command security-group
Last synced: 2 months ago
JSON representation
security group name and id finder
- Host: GitHub
- URL: https://github.com/babakdoraniarab/sg
- Owner: babakDoraniArab
- Created: 2023-09-19T09:19:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-19T09:21:20.000Z (over 1 year ago)
- Last Synced: 2025-01-25T07:11:17.572Z (4 months ago)
- Topics: aws, cli, command, security-group
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
how to use it .
by the way you need to change your region in the python code first . default is eu-west-2
```sh
python aws-get-sg.py --profile STAGE```
run this command to make it executalbe from anywhere
```shsudo cp aws-get-sg.py /usr/local/bin/aws-get-sg
sudo chmod +x /usr/local/bin/aws-get-sg```
now you can use it like this
```sh
aws-get-sg --profile DEV
```