-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
45 lines (39 loc) · 1.26 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
# AWS Provider Default Settings
variable "aws_default_region" {
type = string
description = "The default region that all resources will be deployed into."
default = "us-east-1"
}
variable "aws_default_tags" {
type = map(string)
description = "Default tags added to all AWS resources."
default = {
Project = "core-production-aws-tf"
}
}
# AWS VPC Settings and Options
variable "vpc_cidr" {
type = string
description = "Cidr block for the VPC. Using a /16 or /20 Subnet Mask is recommended."
default = "10.0.0.0/20"
}
variable "vpc_instance_tenancy" {
type = string
description = "Tenancy for instances launched into the VPC."
default = "default"
}
variable "vpc_public_subnet_count" {
type = number
description = "The number of public subnets to create. Cannot exceed the number of AZs in your selected region. 2 is more than enough."
default = 2
}
variable "vpc_private_subnet_count" {
type = number
description = "The number of private subnets to create. Cannot exceed the number of AZs in your selected region."
default = 2
}
# EC2 Settings and Options
variable "ec2_key_pair_name" {
description = "An existing EC2 key pair used to access the servers."
type = string
}