-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
94 lines (79 loc) · 2.38 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
variable "auto_accept" {
type = bool
default = true
description = "Automatically accept the peering"
}
variable "accepter_enabled" {
description = "Flag to enable/disable the accepter side of the peering connection"
type = bool
default = true
}
variable "accepter_aws_access_key" {
description = "Access key id to use in accepter account"
type = string
default = null
}
variable "accepter_aws_profile" {
description = "Profile used to assume accepter_aws_assume_role_arn"
type = string
default = ""
}
variable "accepter_aws_assume_role_arn" {
description = "Accepter AWS Assume Role ARN"
type = string
default = null
}
variable "accepter_aws_secret_key" {
description = "Secret access key to use in accepter account"
type = string
default = null
}
variable "accepter_aws_token" {
description = "Session token for validating temporary credentials"
type = string
default = null
}
variable "accepter_region" {
type = string
description = "Accepter AWS region"
}
variable "accepter_vpc_id" {
type = string
description = "Accepter VPC ID filter"
default = ""
}
variable "accepter_vpc_tags" {
type = map(string)
description = "Accepter VPC Tags filter"
default = {}
}
variable "accepter_subnet_tags" {
type = map(string)
description = "Only add peer routes to accepter VPC route tables of subnets matching these tags"
default = {}
}
variable "accepter_allow_remote_vpc_dns_resolution" {
type = bool
default = true
description = "Allow accepter VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the requester VPC"
}
variable "skip_metadata_api_check" {
type = bool
default = false
description = "Don't use the credentials of EC2 instance profile"
}
variable "add_attribute_tag" {
type = bool
default = true
description = "If `true` will add additional attribute tag to the requester and accceptor resources"
}
variable "aws_route_create_timeout" {
type = string
default = "5m"
description = "Time to wait for AWS route creation specifed as a Go Duration, e.g. `2m`"
}
variable "aws_route_delete_timeout" {
type = string
default = "5m"
description = "Time to wait for AWS route deletion specifed as a Go Duration, e.g. `5m`"
}