https://github.com/akullpp/aws-dynip-update
Update the IP of an inbound rule of a security group for EC2.
https://github.com/akullpp/aws-dynip-update
Last synced: 10 months ago
JSON representation
Update the IP of an inbound rule of a security group for EC2.
- Host: GitHub
- URL: https://github.com/akullpp/aws-dynip-update
- Owner: akullpp
- License: mit
- Created: 2020-03-12T09:26:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-22T09:06:58.000Z (over 6 years ago)
- Last Synced: 2025-02-17T12:37:13.511Z (over 1 year ago)
- Language: JavaScript
- Size: 116 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-dynip-update
Update the IP of an inbound rule in security groups.
## Requirements
- Configured `aws` CLI ([docs](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html))
- Nodejs > 12.16.x ([link](https://nodejs.org/en/))
## Usage
```shell
npx aws-dynip-update [Options]
Options:
-r --region AWS region
-s --secgroup Security group name
-d --dry Dry run
-h, --help output usage information
```
The **region** and **security group name** parameters are required for the first time.
After the initial run, you'll have a configuration in `$HOME/.aws_ip.yml` and don't need to provide the params again if they didn't change. Of course you can always add another region/secgroup combination.
## Notes
- Created rule allows **all trafic**
- Created rule doesn't have a description