From 21084ff38f82cc610404d32f2b2061e3568d2e80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20B=C3=A9jean?= <nicolas@bejean.fr>
Date: Sun, 12 Dec 2021 15:53:32 +0100
Subject: [PATCH] debug service account

---
 .gitlab-ci.yml            | 1 -
 manifests/magento/main.tf | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 530900c..b9d6cd8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,7 +45,6 @@ terraform-magento:
     cd $TF_ROOT_MAGENTO
     echo $GCP_SA_GITLAB > gcp-sa.json
     ls -l
-    cat gcp-sa.json
     gitlab-terraform init 
     gitlab-terraform validate
     gitlab-terraform fmt -check
diff --git a/manifests/magento/main.tf b/manifests/magento/main.tf
index 38b5264..e129b60 100644
--- a/manifests/magento/main.tf
+++ b/manifests/magento/main.tf
@@ -11,7 +11,7 @@ terraform {
 }
 
 provider "google" {
-  credentials = file(gcp-sa.json)
+  credentials = file("./gcp-sa.json")
   project     = var.project_id
   region      = var.region
 }
-- 
GitLab