name: Upload Terraform logs description: "Upload the Terraform log file as an artifact." inputs: artifactNameSuffix: description: "Name suffix for the created artifact." required: true runs: using: "composite" steps: - name: Upload artifact uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 with: name: terraform-logs-${{ inputs.artifactNameSuffix }} path: terraform.log