-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (44 loc) · 1.19 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
variable "name" {
default = "CustomVPC"
type = string
description = "Name of the VPC"
}
variable "env" {
type = string
description = "Name of environment this VPC is deployed in"
}
variable "region" {
default = "eu-west-1"
type = string
description = "Region of the VPC"
}
variable "cidr_block" {
default = "10.0.0.0/16"
type = string
description = "CIDR block for the VPC"
}
variable "public_subnet_cidr_blocks" {
default = ["10.0.0.0/24", "10.0.2.0/24"]
type = list(string)
description = "List of public subnet CIDR blocks"
}
variable "private_subnet_cidr_blocks" {
default = ["10.0.1.0/24", "10.0.3.0/24"]
type = list(string)
description = "List of private subnet CIDR blocks"
}
variable "availability_zones" {
default = ["eu-west-1a", "eu-west-1b"]
type = list(string)
description = "List of availability zones"
}
variable "enable_s3_vpc_endpoint" {
type = bool
description = "Flag that controls creation of the S3 VPC Endpoint."
default = true
}
variable "tags" {
default = {}
type = map(string)
description = "Extra tags to attach to the VPC resources"
}