33 lines
833 B
Terraform
33 lines
833 B
Terraform
variable "aws_region" {
|
|
description = "AWS region for the optional production-style K3s host."
|
|
type = string
|
|
default = "us-east-1"
|
|
}
|
|
|
|
variable "availability_zone" {
|
|
description = "Availability zone for the subnet. Leave null to use the first AZ."
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "EC2 instance type for the lab node."
|
|
type = string
|
|
default = "t3.medium"
|
|
}
|
|
|
|
variable "ssh_key_name" {
|
|
description = "Existing EC2 key pair name used for Ansible bootstrap."
|
|
type = string
|
|
}
|
|
|
|
variable "admin_cidr" {
|
|
description = "CIDR allowed to SSH to the node; restrict this to your admin IP."
|
|
type = string
|
|
}
|
|
|
|
variable "ami_id" {
|
|
description = "Flatcar Stable AMI ID for the selected region and architecture."
|
|
type = string
|
|
}
|