Skip to content

Instantly share code, notes, and snippets.

@sheldonh
Last active August 29, 2015 14:13
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 sheldonh/dd6a7244f35fb30069c9 to your computer and use it in GitHub Desktop.
Save sheldonh/dd6a7244f35fb30069c9 to your computer and use it in GitHub Desktop.
kitchen-ec2 .kitchen.yml
---
driver:
name: ec2
aws_access_key_id: ...
aws_secret_access_key: ...
aws_session_token: ...
aws_ssh_key_id: chef-lab
ssh_key: <%= ENV['HOME'] %>/.ssh/chef-lab.pem
subnet_id: subnet-3eb66215
vpc_id: vpc-1cf49679
security_group_ids:
- sg-506fa434
require_chef_omnibus: true
provisioner:
name: chef_solo
platforms:
- name: ubuntu-14.04
driver:
image_id: ami-9eaa1cf6
username: ubuntu
flavor_id: t2.small
suites:
- name: default
run_list:
- recipe[getting-started::default]
attributes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment