diff --git a/terraform-test/action.yml b/terraform-test/action.yml index 50062f3..b1f2f42 100644 --- a/terraform-test/action.yml +++ b/terraform-test/action.yml @@ -23,6 +23,11 @@ inputs: description: "Path where to run terraform test" required: false default: dashboard + terraform_version: + description: "Terraform version used in this action" + required: false + default: 1.3.6 + runs: using: "composite" steps: @@ -41,7 +46,7 @@ runs: - name: Setup Terraform uses: hashicorp/setup-terraform@v2 with: - terraform_version: 1.2.1 + terraform_version: ${{ input.terraform_version }} - name: Run Terraform Test run: | diff --git a/terraform/action.yml b/terraform/action.yml index 489a2af..98ae8c2 100644 --- a/terraform/action.yml +++ b/terraform/action.yml @@ -46,6 +46,10 @@ inputs: description: "Allows to enable plan result direct apply" required: false default: "false" + terraform_version: + description: "Terraform version used in this action" + required: false + default: 1.3.6 runs: using: "composite" @@ -78,7 +82,7 @@ runs: - name: Setup Terraform uses: hashicorp/setup-terraform@v2 with: - terraform_version: 1.2.1 + terraform_version: ${{ input.terraform_version }} - name: Initialize Terraform run: | diff --git a/tflint/action.yml b/tflint/action.yml index d1e46e9..2c4ca5c 100644 --- a/tflint/action.yml +++ b/tflint/action.yml @@ -26,6 +26,11 @@ inputs: repo-token: description: "Path where will run checkov" required: false + terraform_version: + description: "Terraform version used in this action" + required: false + default: 1.3.6 + runs: using: "composite" steps: @@ -44,7 +49,7 @@ runs: - name: Setup Terraform uses: hashicorp/setup-terraform@v2 with: - terraform_version: 1.2.1 + terraform_version: ${{ input.terraform_version }} - name: Terraform init run: | diff --git a/tfsec/action.yaml b/tfsec/action.yaml index f4e958a..96dd407 100644 --- a/tfsec/action.yaml +++ b/tfsec/action.yaml @@ -22,9 +22,9 @@ runs: - name: tfsec uses: aquasecurity/tfsec-sarif-action@v0.1.4 with: - sarif_file: tfsec.sarif + sarif_file: tfsec.sarif - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v2 with: - sarif_file: tfsec.sarif + sarif_file: tfsec.sarif