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

+42
View File
@@ -0,0 +1,42 @@
# Variables for Backend module
variable "linode_region" {
description = "Linode region for Object Storage"
type = string
default = "us-east"
}
variable "linode_object_storage_cluster" {
description = "Linode Object Storage cluster"
type = string
default = "us-east-1"
}
variable "object_storage_access_key" {
description = "Object Storage access key"
type = string
}
variable "object_storage_secret_key" {
description = "Object Storage secret key"
type = string
sensitive = true
}
variable "environment" {
description = "Deployment environment (staging or production)"
type = string
validation {
condition = contains(["staging", "production"], var.environment)
error_message = "Environment must be 'staging' or 'production'."
}
}
variable "tags" {
description = "Common tags for all resources"
type = map(string)
default = {
ManagedBy = "terraform"
Project = "hapi"
}
}