https://github.com/babakdoraniarab/sg
security group name and id finder
https://github.com/babakdoraniarab/sg
aws cli command security-group
Last synced: 29 days 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 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T09:21:20.000Z (over 2 years ago)
- Last Synced: 2025-07-26T13:42:52.977Z (11 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
```sh
sudo 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
```