windows-ec2/variables.tf

55 lines
1.4 KiB
Terraform
Raw Normal View History

2024-11-11 07:57:07 +00:00
# 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"
}