Manage container labels and expose labels in inventory output
This commit is contained in:
@@ -4,10 +4,11 @@ resource "docker_container" "gotify" {
|
||||
|
||||
restart = local.docker_containers["gotify"].restart_policy
|
||||
|
||||
labels = local.docker_containers["gotify"].useful_labels
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
env,
|
||||
labels,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user