Add variables.tf
This commit is contained in:
parent
009cf03c78
commit
8339d54b81
|
@ -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"
|
||||
}
|
Loading…
Reference in New Issue