terraform: remove docker_container labels args and ignore label drift

This commit is contained in:
beatz174-bit
2026-04-21 11:20:08 +10:00
parent b848d6b807
commit 40a976f712
27 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -4,7 +4,6 @@ resource "docker_container" "traefik" {
restart = local.docker_containers["traefik"].restart_policy
labels = local.docker_containers["traefik"].useful_labels
network_mode = "core_traefik"
ports {
@@ -64,6 +63,7 @@ resource "docker_container" "traefik" {
lifecycle {
ignore_changes = [
env,
labels,
]
}
}