-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariable.tf
51 lines (45 loc) · 1.25 KB
/
variable.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
variable "default_zone" {
description = "The default zone when the services does not come with zone in metadata"
type = string
default = "nia.hashicorp"
}
variable "apikey" {
description = "The api key used by NS1 provider"
type = string
}
variable "rate_limit_parallelism" {
description = "The api rate limit"
type = number
default = 60
}
variable "endpoint" {
description = "The NS1 endpoint used by NS1 Terraform provider. Managed DNS is the default value."
type = string
default = "https://api.nsone.net/v1/"
}
variable "ignore_ssl" {
description = "(Optional) This normally does not need to be set."
type = bool
default = false
}
variable "services" {
description = "Consul services monitored by Consul NIA"
type = map(
object({
id = string
name = string
address = string
port = number
meta = map(string)
tags = list(string)
namespace = string
status = string
node = string
node_id = string
node_address = string
node_datacenter = string
node_tagged_addresses = map(string)
node_meta = map(string)
})
)
}