forked from ygminds73/terraform-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.tf
128 lines (120 loc) · 3.32 KB
/
variable.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
variable "database_route_table_association_required" {
description = "Whether db route table association required"
type = bool
default = null
}
variable "create_igw" {
description = "Whether IGW needs to be created"
type = bool
default = null
}
variable "igw_tag" {
description = "Mention Tag needs to be associated with internet gateway"
type = string
default = "tcw_igw"
}
variable "public_route_table_tag" {
description = "Tag name for public route table"
type = string
default = "tcw_public_route_table"
}
variable "database_route_table_tag" {
description = "Tage for database route table"
type = string
default = "tcw_database_route_table"
}
variable "cidr" {
description = "Enter the CIDR range required for VPC"
type = string
default = "192.168.0.0/16"
}
variable "enable_dns_hostnames" {
description = "Enable DNS Hostname"
type = bool
default = null
}
variable "enable_dns_support" {
description = "Enable DNS Support"
type = bool
default = null
}
variable "enable_ipv6" {
description = "Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block."
type = bool
default = null
}
variable "vpc_name" {
description = "Tag Name to be assigned with VPC"
type = string
default = "tcw_vpc"
}
variable "default_security_group_name" {
description = "Enter the name for security group"
type = string
default = null
}
variable "enable_dhcp_options" {
description = "Enable DHCP options.. True or False"
type = bool
default = null
}
variable "manage_default_route_table" {
description = "Are we managing default route table"
type = bool
default = null
}
variable "public_subnet_tag_1" {
description = "Tag for public subnet"
type = string
default = "tcw_public_subnet_az_1a"
}
variable "public_subnet_tag_2" {
description = "Tag for public subnet"
type = string
default = "tcw_public_subnet_az_1b"
}
variable "database_subnets" {
description = "CIDR block for database subnet"
type = list(any)
default = null
}
variable "public_subnet" {
description = "enter the number of public subnets you need"
type = number
default = null
}
variable "public_subnets_cidr_1" {
description = "Cidr Blocks"
type = string
default = "192.168.1.0/24"
}
variable "public_subnets_cidr_2" {
description = "Cidr Blocks"
type = string
default = "192.168.2.0/24"
}
variable "database_subnet_tag_1" {
description = "Tag for Private Subnet"
type = string
default = "tcw_database_subnet_az_1a"
}
variable "database_subnet_tag_2" {
description = "Tag for Private Subnet"
type = string
default = "tcw_database_subnet_az_1b"
}
variable "map_public_ip_on_launch" {
description = "It will map the public ip while launching resources"
type = bool
default = null
}
variable "database_subnets_cidr_1" {
description = "mention the CIDR block for database subnet"
type = string
default = "192.168.5.0/24"
}
variable "database_subnets_cidr_2" {
description = "mention the CIDR block for database subnet"
type = string
default = "192.168.6.0/24"
}