diff options
Diffstat (limited to 'terraform/concourse')
-rw-r--r-- | terraform/concourse/concourse.tf | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/terraform/concourse/concourse.tf b/terraform/concourse/concourse.tf index c386e91..fc5e526 100644 --- a/terraform/concourse/concourse.tf +++ b/terraform/concourse/concourse.tf @@ -2,12 +2,16 @@ data "docker_network" "traefik" { name = "traefik" } -resource "docker_image" "concourse" { - name = "concourse/concourse:7.8.3" +data "docker_network" "bridge" { + name = "bridge" +} + +resource "docker_image" "concourse-7_9_0" { + name = "concourse/concourse:7.9.0" } resource "docker_container" "concourse" { - image = docker_image.concourse.image_id + image = docker_image.concourse-7_9_0.image_id name = "concourse" privileged = true must_run = false @@ -19,7 +23,7 @@ resource "docker_container" "concourse" { } networks_advanced { - name = "bridge" + name = data.docker_network.bridge.name } ports { |