Skip to content

Instantly share code, notes, and snippets.

@mattray
Created September 28, 2017 05:48
Show Gist options
  • Select an option

  • Save mattray/91e773b8d653b9537e00519e2470b574 to your computer and use it in GitHub Desktop.

Select an option

Save mattray/91e773b8d653b9537e00519e2470b574 to your computer and use it in GitHub Desktop.
---
driver:
name: ec2
instance_type: m3.medium
security_group_ids: ["sg-e6b61680"] # open up rdp, winrm-http, winrm-https
associate_public_ip: true
interface: dns
aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] %>
tags:
Name: kitchen-test-inspec-wannacry
transport:
username: administrator
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
provisioner:
name: chef_zero
verifier:
name: inspec
platforms:
- name: windows-2008
- name: windows-2008r2sp1
- name: windows-2012
- name: windows-2012r2rtm
- name: windows-2012r2
- name: windows-2016
suites:
- name: wannacry
verifier:
inspec_tests:
- .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment