Skip to content

Instantly share code, notes, and snippets.

@joshoohaah
Created July 26, 2017 16:37
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 joshoohaah/4a37d843bd80ff70dfd0492e8cf0b2ee to your computer and use it in GitHub Desktop.
Save joshoohaah/4a37d843bd80ff70dfd0492e8cf0b2ee to your computer and use it in GitHub Desktop.
---
driver:
name: ec2
region: us-east-1
availability_zone: us-east-1b
aws_ssh_key_id: devops_rsa
subnet_id: subnet-014c932a
security_group_ids: [sg-6e34540a, sg-572eac33] # default
tags:
role: app
env: prod
associate_public_ip: false
retryable_tries: 180
provisioner:
name: chef_zero
# require_chef_omnibus: 12.19.33
transport:
ssh_key: ~/.ssh/devops_rsa
username: Administrator
port: 80
elevated: true
block_device_mappings:
delete_on_termination: true
platforms:
- name: aws-2012
driver:
image_id: ami-c93a69b2 # updated ami with base users and winrm
instance_type: t2.large
- name: aws-2016
actual_platform: windows
driver:
image_id: ami-d01844ab # new image with winrm at port 80
instance_type: t2.large
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment