From 935be24aaff3b021c644857222635790508d39c6 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Fri, 22 Dec 2023 14:47:02 -0300 Subject: [PATCH] replace provider --- .github/workflows/iac.yml | 42 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 361feb57..d4704310 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -16,7 +16,7 @@ on: TF_VERSION: required: false type: string - default: '1.6.6' + default: '0.53.2' AWS_REGION: required: true type: string @@ -143,32 +143,32 @@ jobs: VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }} - name: init - uses: the-commons-project/terragrunt-github-actions@master + uses: gruntwork-io/terragrunt-action@v1.0.10 with: - tf_actions_version: ${{ inputs.TF_VERSION }} - tg_actions_version: ${{ inputs.TG_VERSION }} - tf_actions_working_dir: ${{ inputs.WORKING_DIR }} - tf_actions_subcommand: init + tf_version: ${{ inputs.TF_VERSION }} + tg_version: ${{ inputs.TG_VERSION }} + tg_dir: ${{ inputs.WORKING_DIR }} + tg_command: 'run-all init --terragrunt-non-interactive' - name: Terragrunt validate id: validate - uses: the-commons-project/terragrunt-github-actions@master + uses: gruntwork-io/terragrunt-action@v1.0.10 with: - tf_actions_version: ${{ inputs.TF_VERSION }} - tg_actions_version: ${{ inputs.TG_VERSION }} - tf_actions_working_dir: ${{ inputs.WORKING_DIR }} - tf_actions_subcommand: validate --terragrunt-non-interactive + tf_version: ${{ inputs.TF_VERSION }} + tg_version: ${{ inputs.TG_VERSION }} + tg_dir: ${{ inputs.WORKING_DIR }} + tg_command: run-all validate --terragrunt-non-interactive env: OVH_CLOUD_PROJECT_SERVICE: ${{ secrets.OVH_CLOUD_PROJECT_SERVICE }} - name: Terragrunt plan id: plan - uses: the-commons-project/terragrunt-github-actions@master + uses: gruntwork-io/terragrunt-action@v1.0.10 with: - tf_actions_version: ${{ inputs.TF_VERSION }} - tg_actions_version: ${{ inputs.TG_VERSION }} - tf_actions_working_dir: ${{ inputs.WORKING_DIR }} - tf_actions_subcommand: run-all plan -no-color --terragrunt-non-interactive > plan.txt + tf_version: ${{ inputs.TF_VERSION }} + tg_version: ${{ inputs.TG_VERSION }} + tg_dir: ${{ inputs.WORKING_DIR }} + tg_command: run-all plan -no-color --terragrunt-non-interactive > plan.txt env: TF_VAR_do_token: ${{ secrets.TF_VAR_DO_TOKEN }} OS_AUTH_URL: https://auth.cloud.ovh.net/v3 @@ -246,12 +246,12 @@ jobs: - name: Terragrunt apply-all if: github.ref == 'refs/heads/main' && github.event_name == 'push' - uses: the-commons-project/terragrunt-github-actions@master + uses: gruntwork-io/terragrunt-action@v1.0.10 with: - tf_actions_version: ${{ inputs.TF_VERSION }} - tg_actions_version: ${{ inputs.TG_VERSION }} - tf_actions_working_dir: ${{ inputs.WORKING_DIR }} - tf_actions_subcommand: apply-all --terragrunt-non-interactive + tf_version: ${{ inputs.TF_VERSION }} + tg_version: ${{ inputs.TG_VERSION }} + tg_dir: ${{ inputs.WORKING_DIR }} + tg_command: apply-all --terragrunt-non-interactive env: TF_VAR_do_token: ${{ secrets.TF_VAR_DO_TOKEN }} OS_AUTH_URL: https://auth.cloud.ovh.net/v3