This commit systematically updates all Terraform configurations, including resources, variables, and labels, to use the more generic `app` designation instead of `swarm`. This improves consistency and decouples the infrastructure naming from a specific container orchestration technology like Docker Swarm.
23 lines
502 B
HCL
23 lines
502 B
HCL
locals {
|
|
environment = "prod"
|
|
hcloud_project = "iklim_prod"
|
|
name_prefix = "iklim-prod"
|
|
|
|
app_private_ips = {
|
|
"iklim-app-01" = "10.20.10.11"
|
|
"iklim-app-02" = "10.20.10.12"
|
|
"iklim-app-03" = "10.20.10.13"
|
|
}
|
|
|
|
db_private_ips = {
|
|
"iklim-db-01" = "10.20.20.11"
|
|
"iklim-db-02" = "10.20.20.12"
|
|
"iklim-db-03" = "10.20.20.13"
|
|
}
|
|
|
|
network_zone = "eu-central"
|
|
network_cidr = "10.20.0.0/16"
|
|
app_subnet_cidr = "10.20.10.0/24"
|
|
db_subnet_cidr = "10.20.20.0/24"
|
|
}
|