Skip to content

This repository contains tools for faster configuration of aws services using scripts.

License

Notifications You must be signed in to change notification settings

miguelHM63/aws-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edit EC2 Security Group Rules

This script edits EC2 security group rules using the AWS SDK for JavaScript v3.

Prerequisites

  • AWS account with permissions to modify security groups
  • Node.js 12+

Setup

  1. Clone this repository
  2. Run npm install or yarn to install dependencies
  3. Create a .env file with your credentials:
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
  1. Update updateSecurityGroupRule/securityGroups.js with the security groups and rules to modify

Usage

Run the script with:

yarn update-security-groups-rules

The script will modify the rules for the security groups specified in updateSecurityGroupRule/securityGroups.js.

Logs will show progress and any errors.

License

This project is under the MIT License. See the LICENSE file for details.

Contact

If you have any questions or suggestions open an issue in this repository.

I hope this README helps you use the script! Let me know if you need any part explained further.

About

This repository contains tools for faster configuration of aws services using scripts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published