-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
103 lines (77 loc) · 2.66 KB
/
variables.tf
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
// Authentication
variable tenancy_ocid {
type = string
description = "The OCID of the tenant we need to deploy to"
}
variable user_ocid {
type = string
description = "The OCID of the user deploying the SD-WAN node"
}
variable private_key_path {
type = string
description = "Path of the user's private key on this file system"
}
variable fingerprint {
type = string
description = "fingerprint of the user's public key as uploaded to OCI"
}
variable region {
type = string
description = "OCI region where the SD-WAN node will be deployed"
}
variable compartment_ocid {
type = string
description = "Compartment to which all the created resrouces will be attached"
}
// Networking
variable vcn_ocid {
type = string
description = "OCID of the VCN where the SD-WAN node will be deployed. A new one will be created if not provided"
default = ""
}
variable vcn_cidr {
type = string
description = "CIDR of the VCN that will be created to deploy the SD-WAN node"
default = "172.31.15.0/28"
}
variable subnet_mgmt_cidr {
type = string
description = "CIDR of the management VCN that will be created to deploy the SD-WAN node"
default = "172.31.15.0/30"
}
variable subnet_public_cidr {
type = string
description = "CIDR of the management VCN that will be created to deploy the SD-WAN node"
default = "172.31.15.4/30"
}
variable subnet_private_cidr {
type = string
description = "CIDR of the management VCN that will be created to deploy the SD-WAN node"
default = "172.31.15.8/30"
}
// Overridable defaults
variable sdwan_listing_id {
type = string
description = "OCID of the Oracle SD-WAN Edge listing on OCI marketplace"
default = "ocid1.appcataloglisting.oc1..aaaaaaaaxzf5m5xhk5rwovcq2237qrr2nsp6jfxm4posvpv4rwlm74zn6fba"
}
variable sdwan_listing_version {
type = string
description = "Software version of the SD-WAN node to deploy"
default = "8.2.1.0.0"
}
variable sdwan_availability_domain {
type = number
description = "Availabily domain where Oracle SD-WAN Edge will be delivered - Index withing the available ADs, starting from 0"
default = 0
}
variable sdwan_vm_shape {
type = string
description = "VM Shape for the SD-WAN Edge instance"
default = "VM.Standard2.4"
}
variable sdwan_dedicated_private_vnic {
type = bool
description = "Whether to have a 2 tiers network layout (default) or a single tier (i.e. public and private on the same interface)"
default = true
}