tf-aws-demo/prod/variables.tf

58 lines
891 B
Terraform
Raw Normal View History

2022-08-25 15:00:54 +02:00
# general
2022-08-24 14:14:42 +02:00
variable "REGION" {
type = string
default = "eu-west-3"
}
variable "PROJECT_NAME" {
2022-08-24 14:14:42 +02:00
type = string
}
2022-08-25 15:00:54 +02:00
# vpc
2022-08-24 14:14:42 +02:00
variable "DEMO_VPC_CIDR" {
type = string
default = "10.0.0.0/24"
}
variable "DEMO_VPC_AVAILABILITY_ZONES" {
type = list(string)
}
2022-08-26 14:17:46 +02:00
variable "DEMO_VPC_PRIVATE_SUBNETS_CIDRS" {
2022-08-24 14:14:42 +02:00
type = list(string)
}
2022-08-26 14:17:46 +02:00
variable "DEMO_VPC_PUBLIC_SUBNETS_CIDRS" {
2022-08-24 14:14:42 +02:00
type = list(string)
}
2022-08-25 15:00:54 +02:00
# bastion host
2022-08-24 14:14:42 +02:00
variable "DEMO_BASTION_HOST_TYPE" {
type = string
default = "t2.micro"
}
variable "DEMO_BASTION_HOST_KEY_NAME" {
type = string
}
variable "DEMO_BASTION_HOST_AZ" {
type = string
}
2022-08-25 15:00:54 +02:00
# demo app
variable "DEMO_APP_EC2_TYPE" {
type = string
}
variable "DEMO_APP_EC2_KEY_NAME" {
type = string
}
variable "DEMO_APP_ASG_MIN_SIZE" {
type = number
}
variable "DEMO_APP_ASG_MAX_SIZE" {
type = number
}