-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (50 loc) · 1.29 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
variable "cidr" {
type = string
description = "IPv4 CIDR block for the VPC."
}
variable "environment" {
type = string
description = "Environment for the deployment."
default = "dev"
}
variable "log_retention_period" {
type = number
default = 30
description = "Retention period for flow logs, in days."
}
variable "logging_key_id" {
type = string
description = "KMS key ID for encrypting logs."
}
variable "peers" {
type = map(object({
account_id = string
cidr = string
region = string
vpc_id = string
}))
description = "List of VPC peering connections."
default = {}
}
variable "private_subnets" {
type = list(string)
description = "List of private subnet CIDR blocks."
}
variable "project" {
type = string
description = "Project that these resources are supporting."
}
variable "public_subnets" {
type = list(string)
description = "List of public subnet CIDR blocks."
}
variable "single_nat_gateway" {
type = bool
default = false
description = "Enable to deploy one NAT gateway rather than one per subnet. Cheaper, but is not highly available."
}
variable "tags" {
type = map(string)
description = "Tags to apply to all resources."
default = {}
}