forked from sous-chefs/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
139 lines (120 loc) · 3.23 KB
/
.kitchen.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
driver_config:
name: ec2
aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
region: us-west-2
availability_zone: us-west-2a
transport:
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
provisioner:
name: chef_zero
platforms:
- name: amazon-2015.09
driver_config:
image_id: ami-f0091d91
instance_type: t2.small
transport:
username: ec2-user
- name: redhat-7.2
driver_config:
image_id: ami-775e4f16
instance_type: t2.small
transport:
username: ec2-user
- name: ubuntu-12.04
driver_config:
image_id: ami-6cb4ae0d
instance_type: t2.small
transport:
username: ubuntu
- name: ubuntu-14.04
driver_config:
image_id: ami-22b9a343
instance_type: t2.small
transport:
username: ubuntu
suites:
- name: default
run_list:
- recipe[aws::default]
- recipe[aws::ec2_hints]
- 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'] %>
- name: iam_user
run_list:
- recipe[aws_test::iam_user]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
- name: iam_group
run_list:
- recipe[aws_test::iam_group]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
- name: iam_role
run_list:
- recipe[aws_test::iam_role]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
- name: iam_policy
run_list:
- recipe[aws_test::iam_policy]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>