Created
May 6, 2015 10:44
-
-
Save miguelcnf/7a97f6b9f267f1650dd2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'chef/provisioning' | |
with_driver 'aws' | |
with_machine_options :bootstrap_options => { | |
:security_group_ids => ["#{ENV['AWS_SECURITY_GROUP']}"], | |
:key_name => "#{ENV['AWS_KEY_NAME']}", | |
:image_id => "#{ENV['AWS_IMAGE_ID']}" | |
}, | |
:ssh_username => "#{ENV['AWS_SSH_USERNAME']}" | |
machine 'machine' do | |
recipe 'htop' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment