Document full Docker compose container inventory in Terraform
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
resource "docker_container" "gramps_web" {
|
||||
name = local.docker_containers["gramps-web"].container_name
|
||||
image = local.docker_containers["gramps-web"].image
|
||||
|
||||
restart = local.docker_containers["gramps-web"].restart_policy
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
env,
|
||||
labels,
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user