This repository contains code for managing AWS infrastructure using Python and the Boto3 library. The code provided in this repository allows you to define and provision your AWS resources programmatically, making it easier to manage and version control your infrastructure on Lambda.
Before using the code in this repository, ensure that you have the following prerequisites:
AWS account credentials with appropriate permissions to manage AWS resources. AWS Lambda
The repository is organized as follows: .
- README.md
- requirements.txt
- src
- tag_ec2.py
- iam_listUsers.py
- vpc_network.py
To use the code in this repository, follow these steps:
Clone the repository to your local machine using git clone <repository_url>. Install the required dependencies by running pip install -r requirements.txt. Configure your AWS credentials by setting the appropriate environment variables or using the AWS CLI configuration (aws configure). Navigate to the src directory and open the desired Python script for the AWS resource you want to manage. Customize the code to match your requirements. Update variables, resource names, and configuration options as needed. Run the Python script using python3 <script_name>.py. The script will interact with the AWS API using Boto3 and perform the specified actions on your AWS resources.
If you want to contribute to this repository, feel free to submit a pull request. Contributions could include adding new scripts for managing additional AWS resources, improving existing scripts, or fixing bugs. Please ensure that your code adheres to the repository's coding standards and includes appropriate documentation.
License
This repository is licensed under the MIT License. Feel free to modify and distribute the code as per the terms of the license.
The code provided in this repository is for educational and demonstration purposes only. It is not intended for production use without proper review, testing, and customization to meet your specific requirements. The repository owners and contributors are not responsible for any misuse or damages caused by using this code.
Please use caution and follow AWS best practices when managing your infrastructure.