forked from sous-chefs/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.cloud.yml
125 lines (109 loc) · 3.03 KB
/
.kitchen.cloud.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
driver_config:
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
availability_zone: <%= ENV['AWS_AVAILABILITY_ZONE'] %>
provisioner:
name: chef_zero
require_chef_omnibus: 11.16.0
platforms:
- name: amazon-2014.09
driver_plugin: ec2
driver_config:
image_id: ami-50842d38
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: m1.small
- name: ubuntu-12.04
driver_plugin: ec2
driver_config:
image_id: ami-2ccc7a44
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: m1.small
- name: ubuntu-12.04-hvm
driver_plugin: ec2
driver_config:
image_id: ami-3ccc7a54
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: t2.small
- name: ubuntu-14.04
driver_plugin: ec2
driver_config:
image_id: ami-8caa1ce4
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: m1.small
- name: ubuntu-14.04-hvm
driver_plugin: ec2
driver_config:
image_id: ami-9aaa1cf2
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: t2.small
- name: amazon-2014.09-hvm
driver_plugin: ec2
driver_config:
image_id: ami-fccc6d94
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: t2.small
suites:
- name: default
run_list:
- recipe[aws]
- name: ebs_volume
run_list:
- recipe[aws_test::ebs_volume]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
- name: ebs_raid
run_list:
- recipe[aws_test::ebs_raid]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
- name: elastic_ip
run_list:
- recipe[aws_test::elastic_ip]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
elastic_ip: <%= ENV['AWS_ELASTIC_IP'] %>
- name: elb
run_list:
- recipe[aws_test::elb]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
elb_name: <%= ENV['AWS_ELB_NAME'] %>
- name: resource_tag
run_list:
- recipe[aws_test::resource_tag]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
- name: s3_file
run_list:
- recipe[aws_test::s3_file]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
bucket: <%= ENV['AWS_S3_BUCKET'] || 'aws-test' %>
s3key: <%= ENV['AWS_S3_KEY'] || 'an_file' %>
- name: instance_monitoring
run_list:
- recipe[aws_test::instance_monitoring]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>