Skip to content

Commit

Permalink
H-3524: Remove wrong input parameters from terraform execute action (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann authored Oct 29, 2024
1 parent e9b14b5 commit 56fcecf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/actions/terraform-exec/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ inputs:
required: false
default: .
command:
type: choice
description: Terraform command to run
required: true
options:
- plan
- apply
env:
description: Environment to run the command within
required: true
Expand Down Expand Up @@ -95,14 +91,14 @@ runs:
await core.summary
.addHeading(heading)
.addDetails(
"Output of Terraform initialization ⚙️ (${{ steps.init.outcome }})",
"Output of Terraform initialization ⚙️ (${{ steps.init.outcome }})",
`<pre><code>${init}</code></pre>`
)
.addDetails(
"Output of validation 🤖 (${{ steps.validate.outcome }})",
`<pre><code>${validate}</code></pre>`
)
.addDetails("Output of ${{ inputs.command }} 📖 (${{ steps.cmd.outcome }})",
.addDetails("Output of ${{ inputs.command }} 📖 (${{ steps.cmd.outcome }})",
`<pre><code lang="diff">${cmd}</code></pre>`
)
.write();

0 comments on commit 56fcecf

Please sign in to comment.