mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
c6beaa7ce8
Signed-off-by: Valentin Pichard <valentin.pichard@corp.ovh.com>
38 lines
755 B
HCL
38 lines
755 B
HCL
variable "aws_region" {
|
|
description = "The AWS region to create things in."
|
|
default = "us-west-2"
|
|
}
|
|
|
|
variable "az_count" {
|
|
description = "Number of AZs to cover in a given AWS region"
|
|
default = "2"
|
|
}
|
|
|
|
variable "key_name" {
|
|
description = "Name of AWS key pair"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
default = "t2.small"
|
|
description = "AWS instance type"
|
|
}
|
|
|
|
variable "asg_min" {
|
|
description = "Min numbers of servers in ASG"
|
|
default = "1"
|
|
}
|
|
|
|
variable "asg_max" {
|
|
description = "Max numbers of servers in ASG"
|
|
default = "2"
|
|
}
|
|
|
|
variable "asg_desired" {
|
|
description = "Desired numbers of servers in ASG"
|
|
default = "1"
|
|
}
|
|
|
|
variable "admin_cidr_ingress" {
|
|
description = "CIDR to allow tcp/22 ingress to EC2 instance"
|
|
}
|