-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
40 lines (36 loc) · 1.03 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
variable "service_urls" {
default = [
"https://api.seeip.org",
"https://ipinfo.io/ip",
"https://ifconfig.co",
"https://icanhazip.com",
"https://api.ipify.org",
"https://ifconfig.me",
"https://ipecho.net/plain",
"https://ifconfig.io",
"https://ident.me",
"https://ipv4.ident.me",
]
type = list(string)
description = "List of urls to use for getting our IP"
}
variable "extra_service_urls" {
default = []
type = list(string)
description = "Put your own in here if you want extra ones, this gets merged with the `service_urls` list"
}
variable "request_timeout" {
default = 500
type = number
description = "Request timeout in milliseconds"
}
variable "retry_attempts" {
default = 1
type = number
description = "Request retries"
}
variable "data_provider" {
default = "external_curl"
type = string
description = "`curl2` or `http` providers are also supported - we recommend `external_curl` because it handles failure better"
}