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.
17 lines
433 B
HCL
17 lines
433 B
HCL
resource "hcloud_floating_ip" "app" {
|
|
name = "${local.name_prefix}-app-fip"
|
|
type = "ipv4"
|
|
home_location = var.location
|
|
description = "Floating IP for ${local.environment} app entry point"
|
|
|
|
labels = {
|
|
environment = local.environment
|
|
role = "app"
|
|
}
|
|
}
|
|
|
|
resource "hcloud_floating_ip_assignment" "app" {
|
|
floating_ip_id = hcloud_floating_ip.app.id
|
|
server_id = hcloud_server.app.id
|
|
}
|