https://github.com/unixorn/ec2-tagread
Helper script to let bash scripts read EC2 tags
https://github.com/unixorn/ec2-tagread
bash ec2
Last synced: 3 months ago
JSON representation
Helper script to let bash scripts read EC2 tags
- Host: GitHub
- URL: https://github.com/unixorn/ec2-tagread
- Owner: unixorn
- License: bsd-3-clause
- Created: 2015-04-26T18:50:53.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T18:02:21.000Z (about 8 years ago)
- Last Synced: 2025-01-29T09:20:34.102Z (5 months ago)
- Topics: bash, ec2
- Language: Python
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ec2-tagread
ec2-tagread is a helper script I wrote so that bash scripts can read ec2 tags. It assumes you're running on an instance that has an IAM role that allows reading ec2 tags.
Wrote this one at work, but they've allowed me to Open Source it, so it's under the BSD 2-Clause license (see LICENSE, in this directory)
## Requirements
* Boto
* An AWS IAM role or user account with permission to read EC2 tags## Installation
* Create an IAM role or account with EC2 tag reading permission. Use the supplied allow-ec2-tag-reading.json file to create a policy you can attach to the account/role to grant the necessary access rights.