Skip to content

Commit

Permalink
chore: Refactor image pipeline module names and update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Aug 14, 2024
1 parent 06ba094 commit 33b340c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions workflows/terraform-apply.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: [ aws-image-pipeline ]
runs-on: [ ${repo_name} ]
env:
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: CSVD/gh-actions-setup-terraform@v2
with:
terraform_wrapper: false
terraform_version: "1.9.1"
terraform_version: $${{ vars.terraform_version }}

- name: Terraform Format
id: fmt
Expand Down
9 changes: 5 additions & 4 deletions workflows/terraform-plan.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: [ aws-image-pipeline ]
runs-on: [ ${repo_name} ]
env:
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
Expand All @@ -30,9 +30,10 @@ jobs:
with:
node-version: 16

# - uses: CSVD/gh-actions-setup-terraform@v2
# with:
# terraform_wrapper: false
- uses: CSVD/gh-actions-setup-terraform@v2
with:
terraform_wrapper: false
terraform_version: $${{ vars.terraform_version }}

- name: Terraform Format
id: fmt
Expand Down

0 comments on commit 33b340c

Please sign in to comment.