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:
@@ -1,38 +1,16 @@
|
||||
module "cluster" {
|
||||
source = "../modules/cluster"
|
||||
|
||||
prefix = "devhub"
|
||||
prefix = "clst"
|
||||
location = "westeurope"
|
||||
resource_group_name = "devhub-prod-rg"
|
||||
resource_group_name = "clst-prod-rg"
|
||||
|
||||
# AKS — general-purpose nodes for production
|
||||
aks_node_vm_size = "Standard_D4s_v3"
|
||||
aks_node_count = 3
|
||||
|
||||
# PostgreSQL — general-purpose tier for production
|
||||
pg_sku_name = "GP_Standard_D2s_v3"
|
||||
pg_version = "16"
|
||||
pg_storage_mb = 102400 # 100 GB
|
||||
pg_backup_retention_days = 14
|
||||
pg_ha_mode = "ZoneRedundant"
|
||||
pg_standby_zone = "2"
|
||||
|
||||
# Redis — Standard C1 (1 GB) with replication for production
|
||||
redis_sku_name = "Standard"
|
||||
redis_family = "C"
|
||||
redis_capacity = 1
|
||||
|
||||
# Blob storage — geo-redundant for production
|
||||
storage_replication = "GRS"
|
||||
|
||||
# DNS — must match an existing Azure DNS zone
|
||||
domain = "example.com" # TODO: set to your actual domain
|
||||
# dns_zone_resource_group = "my-dns-rg" # uncomment if DNS zone is in a separate RG
|
||||
|
||||
enable_delete_lock = true
|
||||
|
||||
# api_server_authorized_ip_ranges = ["0.0.0.0/0"] # TODO: restrict to known CIDRs
|
||||
|
||||
tags = {
|
||||
Environment = "prod"
|
||||
ManagedBy = "tofu"
|
||||
|
||||
Reference in New Issue
Block a user