-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathha-ap-lb-sandwich.yaml
54 lines (51 loc) · 1.77 KB
/
ha-ap-lb-sandwich.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
imports:
- path: ../../../modules-dm/fgcp-ha-ap-multilb.jinja
name: fgcp-ha-ap-multilb.jinja
- path: ../../../modules-dm/utils-sample-vpcs.jinja
name: sample-vpcs.jinja
resources:
# Create a sample set of VPC Networks with subnets
- name: Sample_Networks
type: sample-vpcs.jinja
properties:
region: us-west1
- name: Fortigate_Cluster
type: fgcp-ha-ap-multilb.jinja
properties:
zones:
- us-west1-b
- us-west1-c
instanceType: e2-standard-4 #optional. defaults to e2-standard-4
license: #optional. default: payg
type: byol
version: 7.2.0 #optional
serialPortEnable: false
networks: #define ALL the connected networks here. By convention the order is External, Internal, Heartbeat, Management, additional
- name: external
vpcLink: $(ref.Sample_Networks.external-vpc)
subnetLink: $(ref.Sample_Networks.external-sb)
ipCidrRange: 172.20.0.0/24
serviceIPs: # this section triggers creation of ELB and EIP
- name: app1
- name: internal
vpcLink: $(ref.Sample_Networks.internal-vpc)
subnetLink: $(ref.Sample_Networks.internal-sb)
ipCidrRange: 172.20.1.0/24
routes:
- destRange: 0.0.0.0/0
name: default
- name: hasync
vpcLink: $(ref.Sample_Networks.hasync-vpc)
subnetLink: $(ref.Sample_Networks.hasync-sb)
ipCidrRange: 172.20.2.0/24
- name: management
vpcLink: $(ref.Sample_Networks.mgmt-vpc)
subnetLink: $(ref.Sample_Networks.mgmt-sb)
ipCidrRange: 172.20.3.0/24
externalIP: # define externalIP to have public IPs bound directly to firewalls (e.g. for management)
name: mgmt
outputs:
- name: Temporary Admin Password
value: $(ref.Fortigate_Cluster.defaultPassword)
- name: Management IPs
value: $(ref.Fortigate_Cluster.mgmtPublicIPs)