-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
45 lines (36 loc) · 1.52 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
# ---------------------------------------------------------------------------------------------------------------------
# ENVIRONMENT VARIABLES
# Define these secrets as environment variables
# ---------------------------------------------------------------------------------------------------------------------
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# You must provide a value for each of these parameters.
# ---------------------------------------------------------------------------------------------------------------------
variable "main_vpc_cidr" {
description = "The CIDR of the main VPC"
type = string
}
variable "public_subnet_cidr" {
description = "The CIDR of public subnet"
type = string
}
variable "private_subnet_cidr" {
description = "The CIDR of the private subnet"
type = string
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# These parameters have reasonable defaults.
# ---------------------------------------------------------------------------------------------------------------------
variable "aws_region" {
description = "The AWS region to deploy into"
type = string
default = "us-east-1"
}
variable "tag_name" {
description = "A name used to tag the resource"
type = string
default = "terraform-network-example"
}