forked from newcontext-oss/kitchen-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitchen.yml
126 lines (126 loc) · 3.17 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
---
driver:
name: terraform
provisioner:
name: terraform
verifier:
name: terraform
fail_fast: false
platforms:
- name: linux
- name: osx
driver:
client: ./terragrunt_darwin_amd64
- name: windows
driver:
client: ./terraform.exe
suites:
- name: attributes
driver:
root_module_directory: test/terraform/attributes
variables:
passthrough: value
verifier:
systems:
- name: default
backend: local
controls:
- default
- name: attrs
backend: local
attrs:
- test/integration/attributes/Attribute File.yml
controls:
- attrs
- name: attrs_outputs
backend: local
attrs_outputs:
first_output: second_output
controls:
- attrs_outputs
- name: precedence
backend: local
attrs:
- test/integration/attributes/Attribute File.yml
attrs_outputs:
first_output: second_output
second_output: third_output
output_third_output: first_output
controls:
- precedence
- name: backend-ssh
excludes:
- osx
- windows
driver:
root_module_directory: test/terraform/backend-ssh
verifier:
systems:
- name: bastion, hosts, key files, profile locations
backend: ssh
bastion_host: localhost
bastion_port: 2223
bastion_user: root
hosts:
- 172.21.0.2
key_files:
- test/terraform/backend-ssh/id_ed25519
port: 22
profile_locations:
- https://github.com/brentm5/chef-compliance-profile-test.git
user: root
- name: hosts output, password, proxy command, shell
backend: ssh
hosts_output: hosts
password: root
port: 2222
proxy_command: nc %h %p
shell: true
shell_command: /bin/sh
shell_options: -x
user: root
- name: plug-ins
driver:
plugin_directory: test/terraform/Plug Ins/Plug In Directory
root_module_directory: test/terraform/Plug Ins
verifier:
systems:
- name: default
backend: local
- name: variables
driver:
root_module_directory: test/terraform/variables
variable_files:
- test/terraform/variables/variable_files/Variable File.tfvars
variables:
string: 'A String'
map: '{ key = \"A Value\" }'
list: '[ \"Element One\", \"Element Two\" ]'
verifier:
systems:
- name: variable_files
backend: local
controls:
- variable_files
- name: variables
backend: local
controls:
- variables
- name: workspace-one
driver:
root_module_directory: test/terraform/workspace
variables:
workspace: one
verifier:
systems:
- name: one
backend: local
- name: workspace-two
driver:
root_module_directory: test/terraform/workspace
variables:
workspace: two
verifier:
systems:
- name: two
backend: local