Skip to content

Instantly share code, notes, and snippets.

@galenemery
Created June 23, 2016 13:16
Show Gist options
  • Save galenemery/01a532f0461c12bb0c7e789360f68404 to your computer and use it in GitHub Desktop.
Save galenemery/01a532f0461c12bb0c7e789360f68404 to your computer and use it in GitHub Desktop.
motd_ubuntu_ec2_kitchen_yml
---
provisioner:
name: chef_zero
platforms:
- name: ec2-ubuntu-14.04
driver:
image_id: ami-4c7a3924
name: ec2
# aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
# aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
aws_ssh_key_id: cad_demo_east
#security_group_ids: ["sg-a78bf6c0", "sg-a58bf6c2" ]
region: us-east-1
availability_zone: us-east-1c
require_chef_omnibus: true
#subnet_id: subnet-28119003
instance_type: m1.small
tags: {
Name: "cad-kitchen",
created-by: "test-kitchen"
}
transport:
username: ubuntu
ssh_key: ~/.ssh/cad_demo_east.pem
verifier:
name: inspec
suites:
- name: default
run_list:
- recipe[motd_ubuntu::default]
attributes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment