-
Notifications
You must be signed in to change notification settings - Fork 12
/
variables.tf
82 lines (69 loc) · 2.13 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
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "attributes" {
type = list(any)
default = []
description = "Additional attributes (e.g. `1`)."
}
variable "repository" {
type = string
default = "https://github.com/clouddrove/terraform-aws-vpc-peering"
description = "Terraform current module repo"
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "label_order" {
type = list(any)
default = ["name", "environment"]
description = "label order, e.g. `name`,`application`."
}
variable "managedby" {
type = string
default = "hello@clouddrove.com"
description = "ManagedBy, eg 'CloudDrove'."
}
#Module : VPC PEERING
#Description : Terraform vpc peering module variables.
variable "enable_peering" {
type = bool
default = true
description = "Set to false to prevent the module from creating or accessing any resources."
}
variable "requestor_vpc_id" {
type = string
description = "Requestor VPC ID."
sensitive = true
}
variable "acceptor_vpc_id" {
type = string
description = "Acceptor VPC ID."
sensitive = true
}
variable "auto_accept" {
type = bool
default = true
description = "Automatically accept the peering (both VPCs need to be in the same AWS account)."
}
variable "accept_region" {
type = string
default = ""
description = "The region of the accepter VPC of the VPC Peering Connection."
}
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."
}