strip cluster bootstraps
All checks were successful
AI Code Review / ai-review (pull_request) Successful in 59s
All checks were successful
AI Code Review / ai-review (pull_request) Successful in 59s
This commit is contained in:
@@ -6,7 +6,7 @@ variable "region" {
|
||||
}
|
||||
|
||||
variable "prefix" {
|
||||
description = "Prefix for resource names (e.g., devhub-dev)"
|
||||
description = "Prefix for resource names (e.g., clst-dev)"
|
||||
type = string
|
||||
}
|
||||
|
||||
@@ -52,64 +52,6 @@ variable "kubernetes_version" {
|
||||
default = "1.30"
|
||||
}
|
||||
|
||||
variable "enable_deletion_protection" {
|
||||
description = "Enable deletion protection on stateful resources (RDS)"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
# ─── RDS (PostgreSQL) ────────────────────────────────────────────────
|
||||
|
||||
variable "rds_instance_class" {
|
||||
description = "RDS instance class (e.g., db.t3.micro, db.r5.large)"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "rds_allocated_storage" {
|
||||
description = "RDS allocated storage in GB"
|
||||
type = number
|
||||
default = 20
|
||||
}
|
||||
|
||||
variable "rds_multi_az" {
|
||||
description = "Enable RDS Multi-AZ deployment"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
# ─── ElastiCache (Redis) ──────────────────────────────────────────────
|
||||
|
||||
variable "redis_node_type" {
|
||||
description = "ElastiCache node type (e.g., cache.t3.micro, cache.r5.large)"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "redis_num_cache_clusters" {
|
||||
description = "Number of Redis cache clusters (1 = single, 2 = primary+replica)"
|
||||
type = number
|
||||
default = 1
|
||||
}
|
||||
|
||||
variable "redis_automatic_failover" {
|
||||
description = "Enable automatic Redis failover (requires num_cache_clusters >= 2)"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
# ─── DNS ─────────────────────────────────────────────────────────────
|
||||
|
||||
variable "domain" {
|
||||
description = "Public domain name for the cluster (e.g., dev.example.com) — must have an existing Route53 hosted zone"
|
||||
type = string
|
||||
}
|
||||
|
||||
# ─── Cognito (IdP for Keycloak) ───────────────────────────────────────
|
||||
|
||||
variable "cognito_domain_prefix" {
|
||||
description = "Cognito hosted UI domain prefix — must be globally unique across all AWS accounts"
|
||||
type = string
|
||||
}
|
||||
|
||||
# ─── Tags ─────────────────────────────────────────────────────────────
|
||||
|
||||
variable "tags" {
|
||||
|
||||
Reference in New Issue
Block a user