-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
100 lines (84 loc) · 2.69 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
variable "enabled" {
type = bool
default = true
description = "Set to false to prevent the module from creating or accessing any resources"
}
variable "namespace" {
type = string
description = "Namespace, which could be your organization name, e.g. 'eg' or 'cp'"
default = ""
}
variable "stage" {
type = string
description = "Stage, e.g. 'prod', 'staging', 'dev', or 'test'"
default = ""
}
variable "name" {
type = string
description = "Solution name, e.g. 'app' or 'cluster'"
}
variable "delimiter" {
type = string
default = "-"
description = "Delimiter to be used between `name`, `namespace`, `stage`, etc."
}
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes (e.g. `1`)"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. `map('BusinessUnit`,`XYZ`)"
}
variable "requestor_vpc_id" {
type = string
description = "Requestor VPC ID"
default = ""
}
variable "requestor_vpc_tags" {
type = map(string)
description = "Requestor VPC tags"
default = {}
}
variable "acceptor_vpc_id" {
type = string
description = "Acceptor VPC ID"
default = ""
}
variable "acceptor_vpc_tags" {
type = map(string)
description = "Acceptor VPC tags"
default = {}
}
variable "auto_accept" {
type = bool
default = true
description = "Automatically accept the peering (both VPCs need to be in the same AWS account)"
}
variable "acceptor_allow_remote_vpc_dns_resolution" {
type = bool
default = true
description = "Allow acceptor VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the requestor VPC"
}
variable "requestor_allow_remote_vpc_dns_resolution" {
type = bool
default = true
description = "Allow requestor VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the acceptor VPC"
}
variable "create_timeout" {
type = string
description = "VPC peering connection create timeout. For more details, see https://www.terraform.io/docs/configuration/resources.html#operation-timeouts"
default = "3m"
}
variable "update_timeout" {
type = string
description = "VPC peering connection update timeout. For more details, see https://www.terraform.io/docs/configuration/resources.html#operation-timeouts"
default = "3m"
}
variable "delete_timeout" {
type = string
description = "VPC peering connection delete timeout. For more details, see https://www.terraform.io/docs/configuration/resources.html#operation-timeouts"
default = "5m"
}