-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
variables.tf
83 lines (70 loc) · 2.42 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
variable "requestor_vpc_id" {
type = string
description = "Requestor VPC ID"
default = ""
}
variable "requestor_vpc_tags" {
type = map(string)
description = "Requestor VPC tags"
default = {}
}
variable "requestor_route_table_tags" {
type = map(string)
description = "Only add peer routes to requestor VPC route tables matching these 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 "acceptor_route_table_tags" {
type = map(string)
description = "Only add peer routes to acceptor VPC route tables matching these 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"
}
variable "requestor_ignore_cidrs" {
type = list(string)
description = "A list of CIDR blocks from the requestor VPC to ignore"
default = []
}
variable "acceptor_ignore_cidrs" {
type = list(string)
description = "A list of CIDR blocks from the acceptor VPC to ignore"
default = []
}