Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emnavarro02/list-aws-assets-tags
https://github.com/emnavarro02/list-aws-assets-tags
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/emnavarro02/list-aws-assets-tags
- Owner: emnavarro02
- Created: 2020-06-26T14:57:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-27T19:39:02.000Z (over 2 years ago)
- Last Synced: 2025-01-01T23:05:45.745Z (2 days ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
This script will create a CSV report with tags of a specfic AWS asset type (e.g. EC2, RDS, Lambda)
### Requirements
The user that will execute the script must have at least the following permissions:
```
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"tag:GetResources",
"tag:GetTagValues",
"tag:DescribeReportCreation",
"tag:GetTagKeys",
"tag:GetComplianceSummary"
],
"Resource": "*"
}
]
}
```### Usage:
The following arguments can be specified when running the script:
-a --asset : (Required) Asset type, which can be ec2, rds or lambda
-f --filename : (Optional) The filename. If no value is provided, a default name will be used.To execute the script use:
```bash
python main.py -a rds -f reportname.csv
```