grdnrio
5/15/2017 - 10:51 AM

Example Windows kitchen.yml

Example Windows kitchen.yml

---
driver:
  name: ec2
  aws_ssh_key_id: your_key
  region: eu-west-1
  availability_zone: b
  require_chef_omnibus: true
  instance_type: m1.small
  associate_public_ip: true
  interface: dns
  security_group_ids: ["your SG ID"]
  shared_credentials_profile: default

verifier: 
  name: inspec

provisioner:
  name: chef_solo

transport:
  ssh_key: C:/ssh/key/path
  connection_timeout: 10
  connection_retries: 5

platforms:
  - name: windows-2012r2
    driver:
      image_id: win2012_ami
    tags: {
      Name: "my-kitchen win2012 node",
        created-by: "my-test-kitchen-win2012"
    }