Skip to content

NorthwesternCloud/awstags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awstags

A set of helpers and a cli that uses boto3's resourcegroupstaggingapi to grab all resources and associated tags. res2csv gets all resources and tags and outputs a csv.

Installation

install the library and related clis. Requires > python 3.

pip install git+https://github.com/NorthwesternCloud/awstags.git

res2csv

res2csv --help 

Usage:
    res2csv -p <profile> <output>

Options:
    -p --profile <profile>      Name of aws profile e.g. "default" or "staging"

s3tags

Usage: 
    s3tags -b <bucket> -p <prefix> [-missing-tags]

Options:
    -b <bucket>     Bucket
    -p <prefix>     Prefix 
    -m --missing-tags  only show missing tags

Description:
stitches together s3 object and object tags

Development

Developed with POETRY for package management. There's some sanity checking doctests in the module. This is really just an example. Extend or augment at will.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages