This commit is contained in:
Marc Fokkert
2024-12-23 14:57:19 +01:00
parent 8ed3574bfe
commit cbac693e2a
3 changed files with 412 additions and 336 deletions

View File

@@ -7,9 +7,9 @@ resource "docker_image" "home-assistant" {
pull_triggers = [data.docker_registry_image.home-assistant.sha256_digest]
# Try to preserve the docker image before removing the container
lifecycle {
create_before_destroy = true
}
# lifecycle {
# create_before_destroy = true
# }
}
resource "docker_container" "home-assistant" {