This is a simple python script that uses the AWS SDK to list all the resources in an AWS account. The script is written in Python 3 and uses the boto3 library to interact with AWS. It can be used to list all the resources in an AWS account and export the list of resources to an Excel file.
- List all the resources in an AWS account
- Export the list of resources to an Excel file
- Python 3 installed
- Clone the repository
- Install the required libraries using pip
pip install -r requirements.txt- Configure your AWS credentials in the file 'aws_credentials.yml':
AWS_ACCESS_KEY_ID: YOUR_ACCESS_KEY
AWS_SECRET_ACCESS_KEY: YOUR_SECRET_ACCESS_KEYIn order to run the script, you need to provide the name of the output Excel file as an argument. For example:
python aws_inventory.py output.xlsx