forked from terraform-aws-modules/terraform-aws-vpc
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
81 lines (68 loc) · 2.15 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
variable "create" {
description = "Determines whether resources will be created"
type = bool
default = true
}
variable "vpc_id" {
description = "The ID of the VPC in which the endpoint will be used"
type = string
default = null
}
variable "endpoints" {
description = "A map of interface and/or gateway endpoints containing their properties and configurations"
type = any
default = {}
}
variable "security_group_ids" {
description = "Default security group IDs to associate with the VPC endpoints"
type = list(string)
default = []
}
variable "subnet_ids" {
description = "Default subnets IDs to associate with the VPC endpoints"
type = list(string)
default = []
}
variable "tags" {
description = "A map of tags to use on all resources"
type = map(string)
default = {}
}
variable "timeouts" {
description = "Define maximum timeout for creating, updating, and deleting VPC endpoint resources"
type = map(string)
default = {}
}
################################################################################
# Security Group
################################################################################
variable "create_security_group" {
description = "Determines if a security group is created"
type = bool
default = false
}
variable "security_group_name" {
description = "Name to use on security group created. Conflicts with `security_group_name_prefix`"
type = string
default = null
}
variable "security_group_name_prefix" {
description = "Name prefix to use on security group created. Conflicts with `security_group_name`"
type = string
default = null
}
variable "security_group_description" {
description = "Description of the security group created"
type = string
default = null
}
variable "security_group_rules" {
description = "Security group rules to add to the security group created"
type = any
default = {}
}
variable "security_group_tags" {
description = "A map of additional tags to add to the security group created"
type = map(string)
default = {}
}