diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a789ea05..e6c11b10a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,6 +76,8 @@ jobs: distribution: corretto cache: gradle + - uses: hashicorp/setup-terraform@v3 + - name: Code Formatting run: ./gradlew spotlessCheck diff --git a/.github/workflows/db_rollback.yml b/.github/workflows/db_rollback.yml index 9de17888f..75865f018 100644 --- a/.github/workflows/db_rollback.yml +++ b/.github/workflows/db_rollback.yml @@ -41,6 +41,8 @@ jobs: - uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 + - name: Terraform Init id: init run: | diff --git a/.github/workflows/terraform-ci-destroy.yml b/.github/workflows/terraform-ci-destroy.yml index d280226ea..14b341077 100644 --- a/.github/workflows/terraform-ci-destroy.yml +++ b/.github/workflows/terraform-ci-destroy.yml @@ -49,6 +49,8 @@ jobs: - uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 + - name: Terraform Init run: terraform init -backend-config="key=pr_${{ github.event.number }}.tfstate" diff --git a/.github/workflows/terraform-deploy_reusable.yml b/.github/workflows/terraform-deploy_reusable.yml index a064e0d6f..3928d07d6 100644 --- a/.github/workflows/terraform-deploy_reusable.yml +++ b/.github/workflows/terraform-deploy_reusable.yml @@ -64,6 +64,8 @@ jobs: - uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 + - name: Terraform Init id: init run: terraform init ${{ inputs.TERRAFORM_INIT_PARAMETERS }}