generated from snowplow-devops/terraform-module-template
/
variables.tf
55 lines (50 loc) · 1.22 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
variable "name" {
description = "A name which will be pre-pended to the resources created"
type = string
}
variable "resource_group_name" {
description = "The name of the resource group to deploy the vNet into"
type = string
}
variable "address_space" {
description = "The root CIDR range to be used for the vNet deployment"
type = string
default = "10.0.0.0/16"
}
variable "subnets" {
description = "A list of public subnets inside the vNet"
type = list(object({
name = string
address_prefix = string
}))
default = [
{
name = "collector-agw1"
address_prefix = "10.0.1.0/24"
},
{
name = "iglu-agw1"
address_prefix = "10.0.2.0/24"
},
{
name = "pipeline1"
address_prefix = "10.0.20.0/24"
},
{
name = "iglu1"
address_prefix = "10.0.21.0/24"
}
]
}
variable "subnet_service_endpoints" {
type = map(any)
default = {
iglu1 = ["Microsoft.Sql"]
}
description = "A map of subnet name to service endpoints to add to the subnet."
}
variable "tags" {
description = "The tags to append to this resource"
default = {}
type = map(string)
}