-
Notifications
You must be signed in to change notification settings - Fork 92
/
variables.tf
89 lines (75 loc) · 2.29 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
variable "peer_vpc_id" {
description = "Peer VPC ID: string"
type = string
default = ""
}
variable "this_vpc_id" {
description = "This VPC ID: string"
type = string
default = ""
}
variable "auto_accept_peering" {
description = "Auto accept peering connection: bool"
type = bool
default = false
}
variable "name" {
description = "Name of the peering connection: string"
type = string
default = ""
}
variable "tags" {
description = "Tags: map"
type = map(string)
default = {}
}
variable "peer_dns_resolution" {
description = "Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC"
type = bool
default = false
}
variable "this_dns_resolution" {
description = "Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a this VPC"
type = bool
default = false
}
variable "from_this" {
description = "If traffic TO peer vpc (from this) should be allowed"
type = bool
default = true
}
variable "from_this_associated" {
description = "If traffic for associated CIDRs TO peer VPC (from this) should be allowed"
type = bool
default = false
}
variable "from_peer" {
description = "If traffic FROM the peer VPC (to this) should be allowed"
type = bool
default = true
}
variable "from_peer_associated" {
description = "If traffic FROM associated CIDRs of the peer VPC (to this) should be allowed"
type = bool
default = false
}
variable "peer_subnets_ids" {
description = "If communication can only go to some specific subnets of peer vpc. If empty whole vpc cidr is allowed"
type = list(string)
default = []
}
variable "this_subnets_ids" {
description = "If communication can only go to some specific subnets of this vpc. If empty whole vpc cidr is allowed"
type = list(string)
default = []
}
variable "this_rts_ids" {
description = "Allows to explicitly specify route tables for this VPC"
type = list(string)
default = []
}
variable "peer_rts_ids" {
description = "Allows to explicitly specify route tables for peer VPC"
type = list(string)
default = []
}