-
Notifications
You must be signed in to change notification settings - Fork 8
/
.kitchen.yml
58 lines (53 loc) · 1.3 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
---
driver:
name: ec2
availability_zone: a
aws_ssh_key_id: ssh_key # update as needed
instance_type: m3.medium
interface: public
region: us-east-1
require_chef_omnibus: true
provisioner:
name: chef_zero
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
transport:
ssh_key: 'ssh_key.pem' # needs to be updated to match aws_ssh_key_id above
verifier:
name: inspec
platforms:
- name: windows-2016
driver:
image_search:
name: Windows_Server-2016*
transport:
name: winrm
elevated: true
username: Administrator
- name: ubuntu-14.04
driver:
image_id: ami-49c9295f
transport:
username: ubuntu
- name: ubuntu-16.04
driver:
image_id: ami-6edd3078
transport:
username: ubuntu
- name: centos-7.2
driver:
image_id: ami-6d1c2007
transport:
username: centos
run_list:
- recipe[sudo]
attributes: { authorization: { sudo: { include_sudoers_d: true, passwordless: true, sudoers_defaults: ['!requiretty'], users: ['centos'] } } }
suites:
- name: default
run_list:
- recipe[aws-inspector::default]
verifier:
inspec_tests:
- test/recipes