-
Notifications
You must be signed in to change notification settings - Fork 51
/
variables.tf
197 lines (196 loc) · 6.29 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
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
186
187
188
189
190
191
192
193
194
195
196
197
# Variables
variable "projectPrefix" {
type = string
default = "demo"
description = "This value is inserted at the beginning of each AWS object (alpha-numeric, no special character)"
}
variable "awsRegion" {
description = "aws region"
type = string
default = "us-west-2"
}
variable "awsAz1" {
description = "Availability zone, will dynamically choose one if left empty"
type = string
default = "us-west-2a"
}
variable "adminSrcAddr" {
type = string
description = "Allowed Admin source IP prefix"
default = "0.0.0.0/0"
}
variable "vpcId" {
type = string
description = "The AWS network VPC ID"
default = null
}
variable "mgmtSubnetAz1" {
type = string
description = "ID of Management subnet AZ1"
default = null
}
variable "extSubnetAz1" {
type = string
description = "ID of External subnet AZ1"
default = null
}
variable "intSubnetAz1" {
type = string
description = "ID of Internal subnet AZ1"
default = null
}
variable "mgmtNsg" {
type = string
description = "ID of management security group"
default = null
}
variable "extNsg" {
type = string
description = "ID of external security group"
default = null
}
variable "intNsg" {
type = string
description = "ID of internal security group"
default = null
}
variable "f5_ami_search_name" {
type = string
description = "AWS AMI search filter to find correct BIG-IP VE for region"
default = "F5 BIGIP-16.1.3.3* PAYG-Best Plus 25Mbps*"
}
variable "ec2_instance_type" {
type = string
description = "AWS instance type for the BIG-IP"
default = "m5n.xlarge"
}
variable "ec2_key_name" {
type = string
description = "AWS EC2 Key name for SSH access"
default = null
}
variable "f5_username" {
type = string
description = "User name for the BIG-IP (Note: currenlty not used. Defaults to 'admin' based on AMI"
default = "admin"
}
variable "f5_password" {
type = string
description = "BIG-IP Password or Secret ARN (value should be ARN of secret when aws_secretmanager_auth = true, ex. arn:aws:secretsmanager:us-west-2:1234:secret:bigip-secret-abcd)"
default = "Default12345!"
}
variable "aws_secretmanager_auth" {
description = "Whether to use secret manager to pass authentication"
type = bool
default = false
}
variable "aws_secretmanager_secret_id" {
description = "The ARN of Secrets Manager secret with BIG-IP password"
type = string
default = null
}
variable "aws_iam_instance_profile" {
description = "Name of IAM role to assign to the BIG-IP instance"
type = string
default = null
}
variable "license1" {
type = string
default = ""
description = "The license token for the 1st F5 BIG-IP VE (BYOL)"
}
variable "dns_server" {
type = string
default = "8.8.8.8"
description = "Leave the default DNS server the BIG-IP uses, or replace the default DNS server with the one you want to use"
}
variable "ntp_server" {
type = string
default = "0.us.pool.ntp.org"
description = "Leave the default NTP server the BIG-IP uses, or replace the default NTP server with the one you want to use"
}
variable "timezone" {
type = string
default = "UTC"
description = "If you would like to change the time zone the BIG-IP uses, enter the time zone you want to use. This is based on the tz database found in /usr/share/zoneinfo (see the full list [here](https://github.com/F5Networks/f5-azure-arm-templates/blob/master/azure-timezone-list.md)). Example values: UTC, US/Pacific, US/Eastern, Europe/London or Asia/Singapore."
}
variable "DO_URL" {
type = string
default = "https://github.com/F5Networks/f5-declarative-onboarding/releases/download/v1.36.1/f5-declarative-onboarding-1.36.1-1.noarch.rpm"
description = "URL to download the BIG-IP Declarative Onboarding module"
}
variable "AS3_URL" {
type = string
default = "https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.43.0/f5-appsvcs-3.43.0-2.noarch.rpm"
description = "URL to download the BIG-IP Application Service Extension 3 (AS3) module"
}
variable "TS_URL" {
type = string
default = "https://github.com/F5Networks/f5-telemetry-streaming/releases/download/v1.32.0/f5-telemetry-1.32.0-2.noarch.rpm"
description = "URL to download the BIG-IP Telemetry Streaming module"
}
variable "FAST_URL" {
type = string
default = "https://github.com/F5Networks/f5-appsvcs-templates/releases/download/v1.24.0/f5-appsvcs-templates-1.24.0-1.noarch.rpm"
description = "URL to download the BIG-IP FAST module"
}
variable "INIT_URL" {
type = string
default = "https://cdn.f5.com/product/cloudsolutions/f5-bigip-runtime-init/v1.6.0/dist/f5-bigip-runtime-init-1.6.0-1.gz.run"
description = "URL to download the BIG-IP runtime init"
}
variable "libs_dir" {
type = string
default = "/config/cloud/aws/node_modules"
description = "Directory on the BIG-IP to download the A&O Toolchain into"
}
variable "bigIqHost" {
type = string
default = ""
description = "This is the BIG-IQ License Manager host name or IP address"
}
variable "bigIqUsername" {
type = string
default = "azureuser"
description = "Admin name for BIG-IQ"
}
variable "bigIqPassword" {
type = string
default = "Default12345!"
description = "Admin Password for BIG-IQ"
}
variable "bigIqLicenseType" {
type = string
default = "licensePool"
description = "BIG-IQ license type"
}
variable "bigIqLicensePool" {
type = string
default = ""
description = "BIG-IQ license pool name"
}
variable "bigIqSkuKeyword1" {
type = string
default = "key1"
description = "BIG-IQ license SKU keyword 1"
}
variable "bigIqSkuKeyword2" {
type = string
default = "key2"
description = "BIG-IQ license SKU keyword 2"
}
variable "bigIqUnitOfMeasure" {
type = string
default = "hourly"
description = "BIG-IQ license unit of measure"
}
variable "bigIqHypervisor" {
type = string
default = "aws"
description = "BIG-IQ hypervisor"
}
variable "resourceOwner" {
type = string
default = null
description = "This is a tag used for object creation. Example is last name."
}