Skip to content

Commit

Permalink
update tfplan output command
Browse files Browse the repository at this point in the history
  • Loading branch information
chefgs committed Jul 22, 2024
1 parent bcdb109 commit 79beb20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tf_cloud_aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ jobs:
working-directory: ${{ env.tfcode_path }}

- name: Terraform Plan
id: plan
id: tfplan
run: |
echo "** Running Terraform Plan**"
terraform plan -out=tfplan
terraform plan
# echo "::set-output name=plan_id::tfplan"
working-directory: ${{ env.tfcode_path }}

- name: Terraform Plan Output
uses: hashicorp/tfc-workflows-github/actions/[email protected]
id: plan-output
with:
plan: ${{ steps.plan.outputs.plan_id }}
plan: ${{ steps.tfplan.outputs.plan_id }}

- name: Reference Plan Output
run: |
Expand Down

0 comments on commit 79beb20

Please sign in to comment.