-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.ec2.yml
45 lines (40 loc) · 1.02 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
---
# The following environment variables are required:
# - AWS_ACCESS_KEY_ID
# - AWS_SECRET_ACCESS_KEY
# - AWS_SSH_KEY_ID
# - AWS_REGION
#
# Optional environment variables:
# - AWS_SECURITY_GROUP
# - AWS_SUBNET
# - KITCHEN_NO_CONCURRENCY set it to true if you do not want concurrency
driver:
name: ec2
instance_type: t2.micro
associate_public_ip: true
iam_profile_name: test-kitchen
region: <%= ENV['AWS_REGION'] || 'us-west-2' %>
subnet_filter:
tag: 'Name'
value: <%= ENV['AWS_SUBNET'] || 'chef-testing-opensource-vpc-subnet' %>
security_group_filter:
tag: 'Name'
value: <%= ENV['AWS_SECURITY_GROUP'] || 'chef-testing-opensource-vpc-security-group' %>
block_device_mappings:
- device_name: /dev/sda1
ebs:
volume_type: gp2
delete_on_termination: true
transport:
ssh_key: <%= ENV['HOME'] %>/.ssh/id_rsa
provisioner:
name: chef_zero
platforms:
- name: centos-6
driver:
image_id: ami-05cf2265
suites:
- name: default
run_list:
- recipe[rundeck-bridge]