From 0aa5208ef278939f0f91eee953a592dfca05f6f7 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 17:51:09 -0300 Subject: [PATCH 1/7] replace action --- .github/workflows/iac.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index d0a44460..3e3b3835 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -172,7 +172,7 @@ jobs: - name: Init id: init - uses: lucasmellos/terragrunt-action@main + uses: gruntwork-io/terragrunt-action@v2 with: tf_version: ${{ inputs.TF_VERSION }} tg_version: ${{ inputs.TG_VERSION }} @@ -187,7 +187,7 @@ jobs: git config --global --list - name: Validate - uses: lucasmellos/terragrunt-action@main + uses: gruntwork-io/terragrunt-action@v2 id: validate with: tf_version: ${{ inputs.TF_VERSION }} @@ -198,7 +198,7 @@ jobs: OVH_CLOUD_PROJECT_SERVICE: ${{ secrets.OVH_CLOUD_PROJECT_SERVICE }} - name: Plan - uses: lucasmellos/terragrunt-action@main + uses: gruntwork-io/terragrunt-action@v2 id: plan with: tf_version: ${{ inputs.TF_VERSION }} @@ -248,7 +248,7 @@ jobs: - name: Apply if: github.ref == 'refs/heads/main' && github.event_name == 'push' - uses: lucasmellos/terragrunt-action@main + uses: gruntwork-io/terragrunt-action@v2 id: apply with: tf_version: ${{ inputs.TF_VERSION }} From 3f31fba226f92fabdb73b3f140d76e3f5501a5dc Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 18:01:42 -0300 Subject: [PATCH 2/7] update tg --- .github/workflows/iac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 3e3b3835..ba2b4bdc 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -12,7 +12,7 @@ on: TG_VERSION: required: false type: string - default: '0.53.2' + default: '0.55.9' TF_VERSION: required: false type: string From 3ffe3f3e9207cd06f661dbb772fdd1d11f4becab Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 18:11:42 -0300 Subject: [PATCH 3/7] update tg --- .github/workflows/iac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index ba2b4bdc..57cd3cde 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -12,7 +12,7 @@ on: TG_VERSION: required: false type: string - default: '0.55.9' + default: '0.57.5' TF_VERSION: required: false type: string From 44cbd8590e4d5103214f8d3f362a9569d5b7ff66 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 18:23:57 -0300 Subject: [PATCH 4/7] debug action --- .github/workflows/iac.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 57cd3cde..9aac3fdd 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -170,6 +170,8 @@ jobs: - uses: opentofu/setup-opentofu@main + - run: git config --global --add safe.directory '*' + - name: Init id: init uses: gruntwork-io/terragrunt-action@v2 From 8541c10e65f8447de9f32e3c839be4c7867a8d2b Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 18:29:47 -0300 Subject: [PATCH 5/7] debug action --- .github/workflows/iac.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 9aac3fdd..0beaf7b0 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -170,8 +170,8 @@ jobs: - uses: opentofu/setup-opentofu@main - - run: git config --global --add safe.directory '*' - + - run: apt update ; apt install git ; git config --global --add safe.directory '*' + - name: Init id: init uses: gruntwork-io/terragrunt-action@v2 From 92cb03fed35bd016c4caa33953502972a8bd9d28 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 18:30:01 -0300 Subject: [PATCH 6/7] debug action --- .github/workflows/iac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 0beaf7b0..fecc6e8c 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -170,7 +170,7 @@ jobs: - uses: opentofu/setup-opentofu@main - - run: apt update ; apt install git ; git config --global --add safe.directory '*' + - run: apt update ; apt install git -yq ; git config --global --add safe.directory '*' - name: Init id: init From b3175c027f30e85764c1ed5195ec9c0345db8c00 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Mon, 22 Apr 2024 18:41:36 -0300 Subject: [PATCH 7/7] debug action --- .github/workflows/iac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index fecc6e8c..db0c704a 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -170,7 +170,7 @@ jobs: - uses: opentofu/setup-opentofu@main - - run: apt update ; apt install git -yq ; git config --global --add safe.directory '*' + - run: sudo apt update ; sudo apt install git -yq ; git config --global --add safe.directory '*' - name: Init id: init