From 96bd75c7a5e1710188a70780e3fb0ef8678ab1b4 Mon Sep 17 00:00:00 2001 From: Valentin Matton Date: Wed, 13 Sep 2023 18:27:46 +0200 Subject: [PATCH] fix --- deployment/modules/stack_data/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/modules/stack_data/main.tf b/deployment/modules/stack_data/main.tf index c3fc6fee..7870a8e8 100644 --- a/deployment/modules/stack_data/main.tf +++ b/deployment/modules/stack_data/main.tf @@ -155,7 +155,7 @@ locals { airflow_conn_s3 = "aws://@/${scaleway_object_bucket.main.name}?endpoint_url=${scaleway_object_bucket.main.endpoint}®ion_name=${scaleway_object_bucket.main.region}&aws_access_key_id=${scaleway_iam_api_key.main.access_key}&aws_secret_access_key=${scaleway_iam_api_key.main.secret_key}" } -resource "null_resource" "test" { +resource "null_resource" "up" { triggers = { always_run = timestamp() } @@ -196,7 +196,7 @@ resource "null_resource" "test" { "rm -rf data-inclusion", "git clone https://github.com/betagouv/data-inclusion", "cd data-inclusion", - "git reset --hard ${var.api_version}", + "git checkout vmttn/feat/provision-terraform-scaleway", # TODO: use the commit sha "docker compose -f deployment/docker/docker-compose.yml --env-file ../.env up -d" ] }