Skip to content

Instantly share code, notes, and snippets.

@bryanwb
Created August 30, 2013 11:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanwb/6389088 to your computer and use it in GitHub Desktop.
Save bryanwb/6389088 to your computer and use it in GitHub Desktop.
---
platforms:
- name: vagrant-ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
require_chef_omnibus: true
customize:
memory: 1024
network:
- ["forwarded_port", {guest: 80, host: 8080}]
- name: ec2-ubuntu-12.04
driver_config:
driver_plugin: ec2
driver_config:
image_id: ami-2f115c46 # ami-1b135e72
flavor_id: m1.xlarge
username: ubuntu
require_chef_omnibus: true
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY'] %>
aws_secret_access_key: <%= ENV['AWS_SECRET_KEY'] %>
aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] %>
ssh_key: <%= File.expand_path(ENV['AWS_SSH_KEY_PATH']) %>
suites:
- name: default
run_list: ["recipe[rtfd]"]
attributes: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment