MIT License
This is Itamae plugin for controlling AWS resources.
Currently supports creating EBS volmues only. But we will add more features.
Add this line to your application's Gemfile:
gem 'itamae-plugin-resource-aws'
And then execute:
$ bundle
Or install it yourself as:
$ gem install itamae-plugin-resource-aws
require 'itamae/plugin/resource/aws'
Aws.config[:region] = 'ap-northeast-1'
aws_ebs_volume 'db_ebs_volume' do
action [:create, :attach] # :attach is not supported currently
availability_zone 'ap-northeast-1b'
device '/dev/xvdf'
volume_type 'standard'
size 10
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)