Skip to content

Commit

Permalink
feat: added input for terraform version
Browse files Browse the repository at this point in the history
  • Loading branch information
VishwajitNagulkar authored Jul 31, 2023
1 parent 3dacda3 commit d4e4771
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/terraform_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ on:
required: false
type: string
description: 'Approvals list to approve apply or destroy'
terraform_version:
type: string
default: 1.3.6
description: 'Required erraform version '
timeout:
required: false
type: number
Expand Down Expand Up @@ -117,7 +121,7 @@ jobs:
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_subcommand: "init"
tf_actions_version: 1.3.6
tf_actions_version: ${{ inputs.terraform_version }}
tf_actions_working_dir: ${{ inputs.working_directory }}

- name: 'Terraform validate'
Expand Down

0 comments on commit d4e4771

Please sign in to comment.