Skip to content

Commit

Permalink
tf ci change wd
Browse files Browse the repository at this point in the history
  • Loading branch information
juan pablo committed Aug 12, 2024
1 parent 291c85d commit 0ef6139
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tf-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TF_VERSION }}
- name: change working directory
run: cd ${{ env.TF_MODULE_PATH }}
- name: terraform init
working-directory: ${{ env.TF_MODULE_PATH }}
run: terraform init
- name: terraform validate
working-directory: ${{ env.TF_MODULE_PATH }}
run: terraform validate

tf-plan:
Expand All @@ -44,9 +44,6 @@ jobs:
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TF_VERSION }}
- name: change working directory
run: cd ${{ env.TF_MODULE_PATH }}
# - name: terraform init
# run: terraform init
- name: terraform plan
working-directory: ${{ env.TF_MODULE_PATH }}
run: terraform plan

0 comments on commit 0ef6139

Please sign in to comment.