-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
126 lines (111 loc) · 2.9 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
variable "tf_sa_email" {
type = string
description = <<EOD
The fully-qualified email address of the Terraform service account to use for
resource creation. E.g.
tf_sa_email = "terraform@PROJECT_ID.iam.gserviceaccount.com"
EOD
}
variable "tf_sa_token_lifetime_secs" {
type = number
default = 1200
description = <<EOD
The expiration duration for the service account token, in seconds. This value
should be high enough to prevent token timeout issues during resource creation,
but short enough that the token is useless replayed later. Default value is 1200.
EOD
}
variable "project_id" {
type = string
description = <<EOD
The existing project id that will host the resources. E.g.
project_id = "example-project-id"
EOD
}
variable "nonce" {
type = string
default = "cloud-route-poc"
description = <<EOD
A nonce to uniquely identify the resources created.
EOD
}
variable "num_bigips" {
type = number
default = 2
description = <<EOD
The number of BIG-IP instances to create. Default is 2.
EOD
}
variable "bigip_sa" {
type = string
description = <<EOD
The fully-qualified email address of BIG-IP service account.
EOD
}
variable "bigip_image" {
type = string
default = "projects/f5-7626-networks-public/global/images/f5-bigip-15-1-0-4-0-0-6-payg-good-25mbps-200618231522"
description = <<EOD
The BIG-IP image to use; default is a v15.1.0.4 PAYG licensed GOOD/25MBps image.
EOD
}
variable "zone" {
type = string
default = "us-central1-f"
description = <<EOD
The zone to use for BIG-IP and other resources. Default is 'us-central1-f'.
EOD
}
variable "client_sa" {
type = string
description = <<EOD
The fully-qualified email address of client VMs service account.
EOD
}
variable "service_sa" {
type = string
description = <<EOD
The fully-qualified email address of service VMs service account.
EOD
}
variable "client_subnet" {
type = string
description = <<EOD
A self-link for the client subnet that will host client VMs that will
communicate with service VMs through BIG-IP as an advertised next-hop.
EOD
}
variable "dmz_subnet" {
type = string
description = <<EOD
A self-link for the DMZ subnet that will host BIG-IP external interface.
EOD
}
variable "control_subnet" {
type = string
description = <<EOD
A self-link for the control subnet that will host BIG-IP, client, and service
management interfaces.
EOD
}
variable "service_subnet" {
type = string
description = <<EOD
A self-link for the service subnet that will host BIG-IP internal interface, and
service VMs.
EOD
}
variable "num_clients" {
type = number
default = 1
description = <<EOD
The number of client instances to create. Default is 1.
EOD
}
variable "num_services" {
type = number
default = 2
description = <<EOD
The number of service instances to create. Default is 2.
EOD
}