-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
52 lines (45 loc) · 1.42 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 "availability_zones" {
description = "List of availability zones"
type = list(any)
default = ["ap-south-1a", "ap-south-1b"]
}
variable "cidr" {
description = "The CIDR block for the VPC."
type = string
default = "10.0.0.0/16"
}
variable "enable_dns_hostnames" {
description = "Should be true to enable DNS hostnames in the VPC"
type = bool
default = false
}
variable "enable_dns_support" {
description = "Should be true to enable DNS support in the VPC"
type = bool
default = true
}
variable "map_public_ip_on_launch" {
description = "Specify true to indicate that instances launched into the subnet should be assigned a public IP address. Default is false"
type = bool
default = false
}
variable "name" {
description = "the name of your stack"
type = string
default = "sample-project"
}
variable "private_subnets" {
description = "List of private subnets"
type = list(any)
default = ["10.0.16.0/20", "10.0.48.0/20"]
}
variable "public_subnets" {
description = "List of public subnets"
type = list(any)
default = ["10.0.0.0/20", "10.0.32.0/20"]
}
variable "region" {
description = "the AWS region in which resources are created, you must set the availability_zones variable as well if you define this value to something other than the default"
type = string
default = "ap-south-1"
}