-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yaml
75 lines (62 loc) · 1.71 KB
/
config.yaml
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
imports:
- path: autonetwork-template.jinja
- path: customnetwork-template.jinja
- path: subnetwork-template.jinja
- path: firewall-template.jinja
- path: instance-template.jinja
resources:
- name: network1
type: autonetwork-template.jinja
- name: network1-allow-http-ssh-rdp
type: firewall-template.jinja
properties:
network: $(ref.network1.selfLink)
IPProtocol: TCP
Port: [22, 80, 3389]
- name: network1-allow-icmp
type: firewall-template.jinja
properties:
network: $(ref.network1.selfLink)
IPProtocol: ICMP
Port: []
- name: network2
type: customnetwork-template.jinja
- name: network2-subnet-us
type: subnetwork-template.jinja
properties:
ipCidrRange: 10.130.0.0/20
network: $(ref.network2.selfLink)
region: us-central1
- name: network2-allow-http-ssh-rdp
type: firewall-template.jinja
properties:
network: $(ref.network2.selfLink)
IPProtocol: TCP
Port: [22, 80, 3389]
- name: network2-allow-icmp
type: firewall-template.jinja
properties:
network: $(ref.network2.selfLink)
IPProtocol: ICMP
Port: []
- name: network1-us-vm
type: instance-template.jinja
properties:
zone: us-central1-a
machineType: n1-standard-1
network: $(ref.network1.selfLink)
subnetwork: regions/us-central1/subnetworks/network1
- name: network1-eu-vm
type: instance-template.jinja
properties:
zone: europe-west1-d
machineType: n1-standard-1
network: $(ref.network1.selfLink)
subnetwork: regions/europe-west1/subnetworks/network1
- name: network2-us-vm
type: instance-template.jinja
properties:
zone: us-central1-a
machineType: n1-standard-1
network: $(ref.network2.selfLink)
subnetwork: $(ref.network2-subnet-us.selfLink)