diff --git a/.github/workflows/terraform-apply.yml b/.github/workflows/terraform-apply.yml index 1990856..490042c 100644 --- a/.github/workflows/terraform-apply.yml +++ b/.github/workflows/terraform-apply.yml @@ -42,19 +42,19 @@ jobs: --output none && echo "[i] Waiting 30s for network ACLs to update" && sleep 30 - name: Init - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 with: entrypoint: terraform args: -chdir=terraform init -backend-config=backend.vars -input=false - name: Set workspace - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 with: entrypoint: terraform args: -chdir=terraform workspace select Prod - name: Plan - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 env: TF_VAR_azure_client_id: ${{ secrets.TF_AZURE_CLIENT_ID }} TF_VAR_azure_client_secret: ${{ secrets.TF_AZURE_CLIENT_SECRET }} @@ -63,7 +63,7 @@ jobs: args: -chdir=terraform plan -out=tfplan -input=false - name: Apply - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 env: TF_VAR_azure_client_id: ${{ secrets.TF_AZURE_CLIENT_ID }} TF_VAR_azure_client_secret: ${{ secrets.TF_AZURE_CLIENT_SECRET }} diff --git a/.github/workflows/terraform-test.yml b/.github/workflows/terraform-test.yml index 66681ee..9e437a5 100644 --- a/.github/workflows/terraform-test.yml +++ b/.github/workflows/terraform-test.yml @@ -29,19 +29,19 @@ jobs: working-directory: terraform - name: Run a Terraform init - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 with: entrypoint: terraform args: init - name: Run a Terraform validate - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 with: entrypoint: terraform args: validate - name: Run a Terraform format check - uses: docker://hashicorp/terraform:1.9.5 + uses: docker://hashicorp/terraform:1.10.1 with: entrypoint: terraform args: fmt -check=true -diff=true diff --git a/terraform/.terraform-version b/terraform/.terraform-version index 158c747..4dae298 100644 --- a/terraform/.terraform-version +++ b/terraform/.terraform-version @@ -1 +1 @@ -1.9.5 +1.10.1