forked from daptiv/dotnetframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen_ec2.yml
48 lines (44 loc) · 1.17 KB
/
.kitchen_ec2.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
36
37
38
39
40
41
42
43
44
45
46
47
48
---
driver:
name: ec2
tags: {
"Name": <%= ENV['COOKBOOK'] %>
}
aws_ssh_key_id: <%= ENV['EC2_SSH_KEY_ID'] %>
region: <%= ENV['EC2_REGION'] %>
availability_zone: <%= ENV['EC2_AZ'] %>
subnet_id: <%= ENV['EC2_SUBNET_ID'] %>
instance_type: <%= ENV['EC2_INSTANCE_TYPE'] %>
image_search:
"name": <%= ENV['EC2_IMAGE_NAME'] %>
security_group_ids: [<%= ENV['EC2_SG'] %>]
retryable_tries: 120
block_device_mappings:
- device_name: /dev/sda1
ebs:
volume_type: standard
volume_size: 40
delete_on_termination: true
- device_name: /dev/sdf
ebs:
volume_type: standard
volume_size: 20
delete_on_termination: true
provisioner:
name: chef_zero
transport:
name: winrm
username: <%= ENV['WIN_USER'] %>
password: <%= ENV['WIN_PASS'] %>
platforms:
- name: windows
suites:
- name: <%= ENV['COOKBOOK'] %>
data_bags_path: <%= ENV['CHEF_DATA_BAGS'] %>
encrypted_data_bag_secret_key_path: <%= ENV['CHEF_SECRET_FILE'] %>
run_list:
- recipe[<%= ENV['COOKBOOK'] %>::default]
- recipe[minitest-handler]
attributes:
daptiv_site:
version: <%= ENV['LATEST_PPM_PACKAGE'] %>