From 6f58a15bebf95090d86fabb608c32fde19c48a6a Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:23:28 +0100 Subject: [PATCH] fix: change default Terraform version to 1.7.2 (#142) This PR increases the default version of Terraform used from `1.7.0` to version `1.7.2`. This is not considered a breaking change because it's just a patch release that shouldn't have any backwards incompatibilities. Signed-off-by: team-tf-cdk Co-authored-by: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> --- .projenrc.ts | 2 +- README.md | 8 ++++---- action.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.projenrc.ts b/.projenrc.ts index aa8440a..b17d75c 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -43,7 +43,7 @@ const inputs = { }, terraformVersion: { description: "The version of Terraform to use", - default: "1.7.0", + default: "1.7.2", required: false, type: "string", }, diff --git a/README.md b/README.md index 888806f..d156023 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The Terraform CDK GitHub Action allows you to run CDKTF as part of your CI/CD wo | parameter | description | required | default | | --- | --- | --- | --- | | cdktfVersion | The version of CDKTF to use | `false` | 0.20.3 | -| terraformVersion | The version of Terraform to use | `false` | 1.7.0 | +| terraformVersion | The version of Terraform to use | `false` | 1.7.2 | | workingDirectory | The directory to use for the project | `false` | ./ | | mode | What action to take: `synth-only` runs only the synthesis, `plan-only` only runs a plan, `auto-approve-apply` runs a plan and then performs an apply, `auto-approve-destroy` runs a plan and then performs a destroy | `true` | | | stackName | The stack to run / plan, only required when the mode is `plan-only` or `plan-and-apply` | `false` | | @@ -60,7 +60,7 @@ jobs: uses: hashicorp/terraform-cdk-action@v3 with: cdktfVersion: 0.20.3 - terraformVersion: 1.7.0 + terraformVersion: 1.7.2 mode: plan-only stackName: my-stack terraformCloudToken: ${{ secrets.TF_API_TOKEN }} @@ -108,7 +108,7 @@ jobs: uses: hashicorp/terraform-cdk-action@v3 with: cdktfVersion: 0.20.3 - terraformVersion: 1.7.0 + terraformVersion: 1.7.2 mode: auto-approve-apply stackName: my-stack terraformCloudToken: ${{ secrets.TF_API_TOKEN }} @@ -152,7 +152,7 @@ jobs: uses: hashicorp/terraform-cdk-action@v3 with: cdktfVersion: 0.20.3 - terraformVersion: 1.7.0 + terraformVersion: 1.7.2 mode: synth-only stackName: my-stack ``` diff --git a/action.yml b/action.yml index b299371..25916dd 100644 --- a/action.yml +++ b/action.yml @@ -16,7 +16,7 @@ inputs: required: false terraformVersion: description: The version of Terraform to use - default: 1.7.0 + default: 1.7.2 required: false workingDirectory: description: The directory to use for the project