Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emnavarro02/list-aws-assets-tags


https://github.com/emnavarro02/list-aws-assets-tags

Last synced: 2 days ago
JSON representation

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
```