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:
@@ -2,7 +2,7 @@ module "cluster" {
|
||||
source = "../modules/cluster"
|
||||
|
||||
region = var.region
|
||||
prefix = "devhub"
|
||||
prefix = "clst"
|
||||
|
||||
# VPC
|
||||
availability_zones = ["${var.region}a", "${var.region}b", "${var.region}c"]
|
||||
@@ -14,24 +14,6 @@ module "cluster" {
|
||||
node_max_count = 6
|
||||
kubernetes_version = "1.30"
|
||||
|
||||
# RDS — larger instance with Multi-AZ for production
|
||||
rds_instance_class = "db.r5.large"
|
||||
rds_allocated_storage = 100
|
||||
rds_multi_az = true
|
||||
|
||||
# ElastiCache — larger instance with replica for production
|
||||
redis_node_type = "cache.r5.large"
|
||||
redis_num_cache_clusters = 2
|
||||
redis_automatic_failover = true
|
||||
|
||||
# DNS — must match an existing Route53 hosted zone
|
||||
domain = "example.com" # TODO: set to your actual domain
|
||||
|
||||
# Cognito — domain prefix must be globally unique
|
||||
cognito_domain_prefix = "devhub-prod-devhub" # TODO: customize to avoid conflicts
|
||||
|
||||
enable_deletion_protection = true
|
||||
|
||||
tags = {
|
||||
Environment = "prod"
|
||||
ManagedBy = "tofu"
|
||||
|
||||
Reference in New Issue
Block a user