https://github.com/indix/auto-tag-s3-bucket
Automatically tag S3 buckets with tags from a Google Spreadsheet
https://github.com/indix/auto-tag-s3-bucket
Last synced: 7 months ago
JSON representation
Automatically tag S3 buckets with tags from a Google Spreadsheet
- Host: GitHub
- URL: https://github.com/indix/auto-tag-s3-bucket
- Owner: indix
- Created: 2016-09-30T07:18:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-30T07:19:17.000Z (over 9 years ago)
- Last Synced: 2024-12-27T11:20:23.883Z (over 1 year ago)
- Language: Python
- Size: 26.4 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto-tag-s3-buckets
This is a tiny utility that helps to automatically tag all S3 buckets from a Google spreadsheet.
## Usage
```
$ python main.py --help
usage: main.py [-h] [-i SPREADSHEET_ID] [-c CREDENTIALS_JSON]
optional arguments:
-h, --help show this help message and exit
-i SPREADSHEET_ID, --spreadsheet-id SPREADSHEET_ID
Id of the Google spreadsheet - available in the URL
-c CREDENTIALS_JSON, --credentials-json CREDENTIALS_JSON
Path to service credentials json file
```
The `CREDENTIALS_JSON` can be generated by following the instructions from [here](http://gspread.readthedocs.io/en/latest/oauth2.html#using-signed-credentials).
## Example spreadsheet format

`Bucket` is a mandatory column which represents the bucket name we want to tag. Any other columns would become the names of Tags for the bucket.
## License
http://www.apache.org/licenses/LICENSE-2.0