terraform: remove docker_container labels args and ignore label drift
This commit is contained in:
@@ -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,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user