https://github.com/mizzy/itamae-plugin-resource-aws
https://github.com/mizzy/itamae-plugin-resource-aws
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mizzy/itamae-plugin-resource-aws
- Owner: mizzy
- License: mit
- Created: 2015-07-01T07:38:56.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-01T07:44:24.000Z (almost 11 years ago)
- Last Synced: 2025-03-26T09:44:54.700Z (about 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Itamae::Plugin::Resource::Aws
This is [Itamae](http://itamae.kitchen/) plugin for controlling AWS resources.
Currently supports creating EBS volmues only. But we will add more features.
## Installation
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
## Usage
```ruby
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
```
## Contributing
1. Fork it ( https://github.com/[my-github-username]/itamae-plugin-resource-aws/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request