Skip to content

Commit ea29262

Browse files
committed
chore: post detailed plan summary to job on apply
1 parent fdd52cd commit ea29262

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,15 @@ jobs:
184184
working-directory: terraform
185185
run: terraform apply -lock-timeout=5m tfplan
186186

187+
# attach a detailed summary directly to a gh actions job. sensitive values that match repo secrets are automatically redacted
188+
- name: Attach detailed summary to job
189+
uses: borchero/terraform-plan-comment@2d41e908725447b1677913001dfb92fa7010c025 # v3.1.0
190+
with:
191+
planfile: tfplan
192+
token: ${{ github.token }}
193+
skip-comment: true
194+
working-directory: terraform
195+
187196
release:
188197
needs: deploy
189198
if: ${{ needs.setup.outputs.is_release =='true' }}

0 commit comments

Comments
 (0)