-
Notifications
You must be signed in to change notification settings - Fork 15
/
.kitchen.windows.yml
35 lines (32 loc) · 1.09 KB
/
.kitchen.windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
# Requires environment variables for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
driver:
name: ec2
aws_ssh_key_id: <%= ENV['KITCHEN_AWS_SSH_KEY_ID'] %>
region: <%= ENV['KITCHEN_AWS_REGION'] %>
availability_zone: <%= ENV['KITCHEN_AWS_REGION_ZONE'] %>
subnet_id: <%= ENV['KITCHEN_AWS_SUBNET_ID'] %>
instance_type: <%= ENV['KITCHEN_EC2_INSTANCE_TYPE'] %>
associate_public_ip: <%= ENV['KITCHEN_EC2_PUBLIC_IP'] %>
security_group_ids: <%= ENV['KITCHEN_EC2_SECURITY_GROUP_IDS'] %>
interface: <%= ENV['KITCHEN_EC2_INTERFACE'] %>
retryable_tries: 120
transport:
ssh_key: <%= ENV['KITCHEN_AWS_KEY_FILE'] %>
connection_timeout: 10
connection_retries: 5
provisioner:
product_name: chef
product_version: <%= ENV['CHEF_OMNIBUS_VERSION'] %>
platforms:
- name: windows-2012r2-<%= ENV['CHEF_OMNIBUS_VERSION'] %>
driver:
image_id: <%= ENV['WIN_2012_R2_AMI_ID'] %>
suites:
- name: default
run_list:
- recipe[cloudpassage::default]
attributes:
cloudpassage:
agent_key: <%= ENV['HALO_AGENT_KEY'] %>
linux_agent_version: <%= ENV['HALO_AGENT_VERSION'] %>