Skip to content

Commit

Permalink
Expose Node version in main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinbuss committed Jan 15, 2024
1 parent 1389ff9 commit ed34555
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/_terraformEnvironmentTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
required: true
type: string
description: "Specifies the terraform version."
node_version:
required: true
type: number
description: "Specifies the node version."
working_directory:
required: true
type: string
Expand Down Expand Up @@ -110,7 +114,7 @@ jobs:
id: node_setup
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ inputs.node_version }}

# Setup Terraform
- name: Setup Terraform
Expand Down Expand Up @@ -205,7 +209,7 @@ jobs:
id: node_setup
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ inputs.node_version }}

# Setup Terraform
- name: Setup Terraform
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
environment: "dev"
config: "PerfectThymeTech"
terraform_version: "1.6.6"
node_version: 18
working_directory: "./code/infra"
tenant_id: "3556be79-2979-4b19-a1af-4dd4e6d9ed7e"
subscription_id: "8f171ff9-2b5b-4f0f-aed5-7fa360a1d094"
Expand Down

0 comments on commit ed34555

Please sign in to comment.