Skip to content

Instantly share code, notes, and snippets.

@scarolan
Created June 23, 2017 00:31
Show Gist options
  • Save scarolan/5495884f3f7f94e29bf039a99cb613e7 to your computer and use it in GitHub Desktop.
Save scarolan/5495884f3f7f94e29bf039a99cb613e7 to your computer and use it in GitHub Desktop.
Test Kitchen Config file for Chef Workshop
---
driver:
name: ec2
aws_ssh_key_id: chef_demo_2x
region: us-west-2
subnet_id: subnet-da4bd3bf
security_group_ids: sg-1cea9178
associate_public_ip: true
instance_type: t2.micro
tags:
# Replace YOURNAME and YOURCOMPANY here
Name: "Chef Training Node for YOURNAME, YOURCOMPANY"
created-by: "test-kitchen"
user: Administrator
provisioner:
name: chef_zero
verifier:
name: inspec
format: documentation
platforms:
- name: ubuntu-14.04
transport:
username: ubuntu
ssh_key: C:\Users\chef\.ssh\id_rsa
suites:
- name: default
run_list:
#- recipe[cookbook_name::recipe_name]
verifier:
inspec_tests:
- test/recipes
attributes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment