File tree Expand file tree Collapse file tree
actions/aws-terraform-runner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ runs:
247247 run : |
248248 set -euo pipefail
249249
250- WORKSPACE ="${{ steps.collect.outputs.workspace }}"
250+ WS ="${{ inputs.tf_workspace != '' && inputs.tf_workspace || steps.collect.outputs.workspace }}"
251251 TFV="${{ steps.collect.outputs.terraform_version }}"
252252
253253 LIMIT_RAW="${{ inputs.summary_limit }}"
@@ -257,7 +257,7 @@ runs:
257257 echo "## 🛠️ Terraform Execution Summary"
258258 echo "- **Command:** \`${{ inputs.tf_command }}\`"
259259 echo "- **Directory:** \`${{ inputs.tf_dir }}\`"
260- echo "- **Workspace:** \`$WORKSPACE \`"
260+ echo "- **Workspace:** \`$WS \`"
261261 echo "- **Terraform version:** \`$TFV\`"
262262 echo "- **Backend:** S3 \`${{ inputs.backend_bucket }}:${{ inputs.backend_key }}\`"
263263 echo " in \`${{ inputs.backend_region }}\`"
You can’t perform that action at this time.
0 commit comments