-
Notifications
You must be signed in to change notification settings - Fork 91
/
.kitchen.ec2.yml
38 lines (34 loc) · 1017 Bytes
/
.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
driver:
name: ec2
aws_ssh_key_id: <%= ENV['AWS_SSH_KEY'] %>
security_group_ids: <%= ENV['AWS_SECURITY_GROUPS'] %>
region: <%= ENV['AWS_REGION'] %>
availability_zone: <%= ENV['AWS_AVAILABILITY_ZONE'] %>
require_chef_omnibus: true
subnet_id: <%= ENV['AWS_SUBNET'] %>
instance_type: <%= ENV['INSTANCE_SIZE'] %>
associate_public_ip: false
interface: private
user_data: <%= ENV['USER_DATA_PATH'] %>
tags: {
"Name" : "TravisCI",
"created-by": "test-kitchen"
}
provisioner:
name: chef_zero
transport:
username: <%= ENV['AWS_USERNAME'] %>
ssh_key: ~/.ssh/<%= ENV['AWS_SSH_KEY'] %>.pem
platforms:
- name: <%= ENV['AWS_PLATFORM_NAME'] %>
driver:
image_id: <%= ENV['AWS_AMI_ID'] %>
suites:
- name: default
data_bags_path: test/integration/data_bags
run_list:
- recipe[data-bag-faker]
- recipe[sumologic-collector::default]
attributes:
SUMO_ACCESS_ID: <%= ENV['SUMO_ACCESS_ID'] %>
SUMO_ACCESS_KEY: <%= ENV['SUMO_ACCESS_KEY'] %>