# 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" } } # Backend configuration variables variable "object_storage_access_key" { description = "Linode Object Storage access key for backend state storage" type = string } variable "object_storage_secret_key" { description = "Linode Object Storage secret key for backend state storage" type = string sensitive = true } variable "linode_object_storage_cluster" { description = "Linode Object Storage cluster for backend state storage" type = string default = "us-east-1" }