Files
hapi/infra/variables.tf
T
2026-11-17 14:39:40 -05:00

39 lines
893 B
Terraform

# Variables for HAPI Terraform infrastructure
variable "linode_token" {
description = "Linode API token for authentication"
type = string
sensitive = true
}
variable "linode_region" {
description = "Default Linode region for resources"
type = string
default = "us-east"
}
variable "environment" {
description = "Deployment environment (staging or production)"
type = string
default = "staging"
validation {
condition = contains(["staging", "production"], var.environment)
error_message = "Environment must be 'staging' or 'production'."
}
}
variable "project_name" {
description = "Name of the HAPI project"
type = string
default = "hapi"
}
variable "tags" {
description = "Common tags for all resources"
type = map(string)
default = {
ManagedBy = "terraform"
Project = "hapi"
}
}