diff --git a/variables.tf b/variables.tf new file mode 100644 index 0000000..166a165 --- /dev/null +++ b/variables.tf @@ -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" +} \ No newline at end of file