-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
91 lines (88 loc) · 2.87 KB
/
Copy pathvariables.tf
File metadata and controls
91 lines (88 loc) · 2.87 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
variable "custName" {
description = "A string containing the customer name"
type = string
}
variable "xcTenant" {
type = string
}
variable "demoDomain" {
description = "Enter the name of a delegated subdomain to be used by the HTTP load balancer (ex. cloud.example.com): "
type = string
}
variable "demoNameSpace" {
description = "A string containing the namespace in the F5 Distributed Cloud Environment"
type = string
}
variable "disableWAF" {
description = "Enable or Disable WAF - default is true"
type = bool
default = false
}
variable "originFQDN" {
description = "A string containing the origin FQDN"
type = string
}
variable "healthy_threshold" {
description = "An number representing the number of successful healthchecks to deem origin server to be healthy"
type = number
default = 3
}
variable "interval" {
description = "A number representing how often to run healthcheck"
type = number
default = 15
}
variable "timeout" {
description = "A number representing how long before marking a health probe as failed"
type = number
default = 3
}
variable "unhealthy_threshold" {
description = "A number representing how many failed health probes before marking origin server as unavailable"
type = number
default = 1
}
# Service Policy Variables
variable "servicePolicyType" {
description = "defines if/how Service Policy is created and associated"
type = string
default = "namespace"
validation {
condition = contains(["custom", "namespace", "none"], var.servicePolicyType)
error_message = "Valid values for var servicePolicyType are custom, namespace, or none."
}
}
##variables to control configurable settings in service policy
variable "countryListDeny" {
description = "List of countries to Deny. Default values are OFAC sanctioned countries. See https://community.f5.com/t5/technical-articles/how-to-use-f5-distributed-cloud-to-block-ofac-sanctioned/ta-p/292908"
type = list
default = [
"COUNTRY_BY",
"COUNTRY_BA",
"COUNTRY_BI",
"COUNTRY_CF",
"COUNTRY_CU",
"COUNTRY_IR",
"COUNTRY_IQ",
"COUNTRY_KP",
"COUNTRY_XK",
"COUNTRY_LY",
"COUNTRY_MK",
"COUNTRY_SO",
"COUNTRY_SD",
"COUNTRY_SY",
"COUNTRY_ZW",
"COUNTRY_CD",
"COUNTRY_LB",
"COUNTRY_NI",
"COUNTRY_RU",
"COUNTRY_SS",
"COUNTRY_VE",
"COUNTRY_YE"
]
}
variable "algo" {
description = "Matching algorithm for service policy. See https://docs.cloud.f5.com/docs/api/service-policy"
type = string
default = "DENY_OVERRIDES"
}