From fa5b7239263736cb2d0e63a4342fc825165ccdcd Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 26 Dec 2022 18:31:31 +0100 Subject: concourse --- terraform/concourse/concourse.tf | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'terraform/concourse') 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 { -- cgit v1.2.3