-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathvariables.tf
More file actions
186 lines (160 loc) · 6.78 KB
/
variables.tf
File metadata and controls
186 lines (160 loc) · 6.78 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
variable dnsLabel {
description = "Prefix for resources created by this module"
type = string
//default = "ecosysf5hyd"
}
variable f5_username {
description = "The admin username of the F5 Bigip that will be deployed"
default = "bigipuser"
}
variable ADMIN_PASSWD {
type = string
default = "F5bigipsite@2020"
}
variable resource_group_name {
description = "The name of the resource group in which the resources will be created"
type = string
}
variable vnet_subnet_id {
description = "The subnet id of the virtual network where the virtual machines will reside."
type = list
default = []
}
variable vnet_subnet_security_group_ids {
description = "The Network Security Group id of the virtual network "
type = list(string)
default = []
}
variable AllowedIPs {
type = list(string)
default = ["10.0.1.20", "10.0.1.30"]
}
variable f5_instance_type {
description = "Specifies the size of the virtual machine."
type = string
default = "Standard_DS3_v2"
}
variable f5_image_name {
type = string
default = "f5-bigip-virtual-edition-25m-best-hourly"
}
variable f5_version {
type = string
default = "latest"
}
variable f5_product_name {
type = string
default = "f5-big-ip-best"
}
variable storage_account_type {
description = "Defines the type of storage account to be created. Valid options are Standard_LRS, Standard_ZRS, Standard_GRS, Standard_RAGRS, Premium_LRS."
default = "Standard_LRS"
}
variable allocation_method {
description = "Defines how an IP address is assigned. Options are Static or Dynamic."
default = "Dynamic"
}
variable enable_accelerated_networking {
type = bool
description = "(Optional) Enable accelerated networking on Network interface"
default = false
}
variable enable_ssh_key {
type = bool
description = "(Optional) Enable ssh key authentication in Linux virtual Machine"
default = true
}
variable f5_ssh_publickey {
description = "Path to the public key to be used for ssh access to the VM. Only used with non-Windows vms and can be left as-is even if using Windows vms. If specifying a path to a certification on a Windows machine to provision a linux vm use the / in the path versus backslash. e.g. c:/home/id_rsa.pub"
default = "~/.ssh/id_rsa.pub"
}
variable nb_nics {
description = "Specify the number of nic interfaces"
//default = "3"
}
variable nb_public_ip {
description = "Number of public IPs to assign corresponding to one IP per vm. Set to 0 to not assign any public IP addresses."
//default = "1"
}
variable script_name {
type = string
default = "f5_onboard"
}
## Please check and update the latest DO URL from https://github.com/F5Networks/f5-declarative-onboarding/releases
# always point to a specific version in order to avoid inadvertent configuration inconsistency
variable doPackageUrl {
description = "URL to download the BIG-IP Declarative Onboarding module"
type = string
default = ""
//default = "https://github.com/F5Networks/f5-declarative-onboarding/releases/download/v1.13.0/f5-declarative-onboarding-1.13.0-5.noarch.rpm"
}
## Please check and update the latest AS3 URL from https://github.com/F5Networks/f5-appsvcs-extension/releases/latest
# always point to a specific version in order to avoid inadvertent configuration inconsistency
variable as3PackageUrl {
description = "URL to download the BIG-IP Application Service Extension 3 (AS3) module"
type = string
default = ""
//default = "https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.20.0/f5-appsvcs-3.20.0-3.noarch.rpm"
}
## Please check and update the latest TS URL from https://github.com/F5Networks/f5-telemetry-streaming/releases/latest
# always point to a specific version in order to avoid inadvertent configuration inconsistency
variable tsPackageUrl {
description = "URL to download the BIG-IP Telemetry Streaming module"
type = string
default = ""
//default = "https://github.com/F5Networks/f5-telemetry-streaming/releases/download/v1.12.0/f5-telemetry-1.12.0-3.noarch.rpm"
}
## Please check and update the latest FAST URL from https://github.com/F5Networks/f5-appsvcs-templates/releases/latest
# always point to a specific version in order to avoid inadvertent configuration inconsistency
variable fastPackageUrl {
description = "URL to download the BIG-IP FAST module"
type = string
default = ""
//default = "https://github.com/F5Networks/f5-appsvcs-templates/releases/download/v1.1.0/f5-appsvcs-templates-1.1.0-1.noarch.rpm"
}
## Please check and update the latest Failover Extension URL from https://github.com/F5Networks/f5-cloud-failover-extension/releases/latest
# always point to a specific version in order to avoid inadvertent configuration inconsistency
variable cfePackageUrl {
description = "URL to download the BIG-IP Cloud Failover Extension module"
type = string
default = ""
//default = "https://github.com/F5Networks/f5-cloud-failover-extension/releases/download/v1.3.0/f5-cloud-failover-1.3.0-0.noarch.rpm"
}
variable libs_dir {
description = "Directory on the BIG-IP to download the A&O Toolchain into"
default = "/config/cloud/azure/node_modules"
type = string
}
variable onboard_log {
description = "Directory on the BIG-IP to store the cloud-init logs"
default = "/var/log/startup-script.log"
type = string
}
variable public_ip_dns {
description = "Optional globally unique per datacenter region domain name label to apply to each public ip address. e.g. thisvar.varlocation.cloudapp.azure.com where you specify only thisvar here. This is an array of names which will pair up sequentially to the number of public ips defined in var.nb_public_ip. One name or empty string is required for every public ip. If no public ip is desired, then set this to an array with a single empty string."
default = ["ecosysf5hyd", "external", "internal", null]
}
variable availabilityZones {
description = "If you want the VM placed in an Azure Availability Zone, and the Azure region you are deploying to supports it, specify the numbers of the existing Availability Zone you want to use."
type = list
default = []
}
variable azure_secret_rg {
description = "The name of the resource group in which the Azure Key Vault exists"
type = string
default = ""
}
variable az_key_vault_authentication {
description = "Whether to use key vault to pass authentication"
type = bool
}
variable azure_keyvault_name {
description = "The name of the Azure Key Vault to use"
type = string
default = ""
}
variable azure_keyvault_secret_name {
description = "The name of the Azure Key Vault secret containing the password"
type = string
default = ""
}