-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitchen.yml
63 lines (54 loc) · 1.27 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
---
driver:
name: azurerm
subscription_id: 'YOURSUBSCRIPTIONIDHERE'
location: 'East US'
machine_size: 'Standard_D2s_v3'
azure_resource_group_prefix: 'azure-tk'
resource_group_tags:
X-TTL: '24'
provisioner:
name: chef_zero
always_update_cookbooks: true
product_name: chef
product_version: 17
channel: stable
verifier:
name: inspec
platforms:
- name: ubuntu20
driver:
image_urn: Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest
transport:
name: ssh
ssh_key: ~/.ssh/id_kitchen-azurerm
- name: ubuntu18
driver:
image_urn: Canonical:UbuntuServer:18.04-LTS:latest
transport:
name: ssh
ssh_key: ~/.ssh/id_kitchen-azurerm
- name: RHEL7
driver:
image_urn: RedHat:RHEL:7-LVM:latest
transport:
name: ssh
ssh_key: ~/.ssh/id_kitchen-azurerm
- name: Windows2019
os_type: windows
transport:
name: winrm
driver:
image_urn: MicrosoftWindowsServer:WindowsServer:2019-Datacenter:latest
# username: "azure"
# password: "P2ssw0rd"
suites:
- name: default
run_list:
- recipe[diiv::default]
verifier:
inspec_tests:
- compliance/profiles/diiv_compliance/controls
attributes:
audit:
reporter: 'cli'