Add variables.tf

This commit is contained in:
Ryan Malloy 2024-11-11 07:57:07 +00:00
parent 009cf03c78
commit 8339d54b81
1 changed files with 55 additions and 0 deletions

55
variables.tf Normal file
View File

@ -0,0 +1,55 @@
# VPC Variables
variable "vpc_cidr" {
type = string
description = "CIDR for the VPC"
default = "10.1.64.0/18"
}
# Subnet Variables
variable "public_subnet_cidr" {
type = string
description = "CIDR for the public subnet"
default = "10.1.64.0/24"
}
variable "windows_instance_type" {
type = string
description = "EC2 instance type for Windows Server"
default = "t2.micro"
}
variable "windows_associate_public_ip_address" {
type = bool
description = "Associate a public IP address to the EC2 instance"
default = true
}
variable "windows_root_volume_size" {
type = number
description = "Volumen size of root volumen of Windows Server"
default = "30"
}
variable "windows_data_volume_size" {
type = number
description = "Volumen size of data volumen of Windows Server"
default = "10"
}
variable "windows_root_volume_type" {
type = string
description = "Volume type of root volumen of Windows Server. Can be standard, gp3, gp2, io1, sc1 or st1"
default = "gp2"
}
variable "windows_data_volume_type" {
type = string
description = "Volume type of data volumen of Windows Server. Can be standard, gp3, gp2, io1, sc1 or st1"
default = "gp2"
}
variable "windows_instance_name" {
type = string
description = "EC2 instance name for Windows Server"
default = "windows-01"
}