forked from grem11n/terraform-aws-vpc-peering
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
71 lines (60 loc) · 1.83 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
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 "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_peer" {
description = "If traffic FROM peer vpc (to this) should be allowed"
type = bool
default = true
}
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 = []
}