79577931

Date: 2025-04-16 19:03:51
Score: 1
Natty:
Report link

Looks like the bug has been fixed. If you use the hashocorp/setup-terraform GitHub Action, you can now reference the results of terraform commands through the outputs of the different steps.

Here is an example:

- name: Setup Terraform
  uses: hashicorp/setup-terraform@v3

- name: Terraform Init
  run: |
    terraform init

- name: Terraform Plan
  id: plan
  run: |
    terraform plan -detailed-existcode

- name: Reference Past Step
  run: |
    echo ${{ steps.plan.outputs.exitcode}}
    
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Brandon Bednar