forked from spkane/terraform-aws-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
76 lines (64 loc) · 1.9 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
variable "environment" {
description = "Environment name, will be added for resource tagging."
type = string
}
variable "project" {
description = "Project name, will be added for resource tagging."
type = string
default = ""
}
variable "aws_region" {
description = "The Amazon region"
type = string
default = "us-west-2"
}
variable "cidr_block" {
description = "The CIDR block used for the VPC."
type = string
default = "10.0.0.0/16"
}
variable "availability_zones" {
description = "List to specify the availability zones for which subnes will be created. By default all availability zones will be used."
type = list
default = []
}
variable "create_private_subnets" {
description = "Indicates to create private subnets."
type = bool
default = true
}
variable "create_private_hosted_zone" {
description = "Indicate to create a private hosted zone."
type = bool
default = true
}
variable "public_subnet_map_public_ip_on_launch" {
description = "Enable public ip creaton by default on EC2 instance launch."
type = bool
default = false
}
variable "create_s3_vpc_endpoint" {
description = "Whether to create a VPC Endpoint for S3, so the S3 buckets can be used from within the VPC without using the NAT gateway."
type = bool
default = true
}
variable "tags" {
description = "Map of tags to apply on the resources"
type = map(string)
default = {}
}
variable "public_subnet_tags" {
description = "Map of tags to apply on the public subnets"
type = map(string)
default = {}
}
variable "private_subnet_tags" {
description = "Map of tags to apply on the private subnets"
type = map(string)
default = {}
}
variable "enable_create_defaults" {
description = "Disable managing the default resources."
type = bool
default = true
}