01: infra

This commit is contained in:
Bobby committed 2026-11-17 14:39:40 -05:00
1 parent ec9bb74be0
commit 341cd05ac5
71 files changed
+2058 -1

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
# 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"
}
}