tagenv
![Gem Version](https://badge.fury.io/rb/tagenv.svg)
ec2 instance tag apply environment variables.
Settings
export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export AWS_REGION=ap-northeast-1
- support environment variables and iam role.
Examples
require 'tagenv'
Tagenv.load(prefix: 'EC2TAG_')
p ENV
Installation
Add this line to your application's Gemfile:
gem 'tagenv'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tagenv
Synopsis
$ tagenv
Future
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Information