-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
70 lines (60 loc) · 1.95 KB
/
variables.tf
File metadata and controls
70 lines (60 loc) · 1.95 KB
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
variable "name" {
description = "Name prefix for all resources created by this module."
type = string
}
variable "vpc_id" {
description = "The ID of the VPC in which to create resources."
type = string
}
variable "tags" {
description = "A map of tags to apply to all resources."
type = map(string)
default = {}
}
variable "create_endpoint_service" {
description = "Whether to create a VPC Endpoint Service (producer side)."
type = bool
default = false
}
variable "network_load_balancer_arns" {
description = "List of Network Load Balancer ARNs to associate with the endpoint service."
type = list(string)
default = []
}
variable "gateway_load_balancer_arns" {
description = "List of Gateway Load Balancer ARNs to associate with the endpoint service."
type = list(string)
default = []
}
variable "acceptance_required" {
description = "Whether VPC endpoint connection requests must be accepted by the service owner."
type = bool
default = true
}
variable "allowed_principals" {
description = "List of ARNs of principals allowed to discover and connect to the endpoint service."
type = list(string)
default = []
}
variable "private_dns_name" {
description = "The private DNS name for the endpoint service (requires verification)."
type = string
default = null
}
variable "create_vpc_endpoints" {
description = "Whether to create VPC endpoints (consumer side)."
type = bool
default = true
}
variable "endpoints" {
description = "A map of VPC endpoint configurations keyed by endpoint identifier."
type = map(object({
service_name = string
type = optional(string, "Interface")
subnet_ids = optional(list(string), [])
security_group_ids = optional(list(string), [])
private_dns_enabled = optional(bool, false)
policy = optional(string, null)
}))
default = {}
}