Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelcnf/7a97f6b9f267f1650dd2 to your computer and use it in GitHub Desktop.
Save miguelcnf/7a97f6b9f267f1650dd2 to your computer and use it in GitHub Desktop.
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