Skip to content

Manual Destroy Pull Request Deployments #6

Manual Destroy Pull Request Deployments

Manual Destroy Pull Request Deployments #6

name: Manual Destroy Pull Request Deployments
on:
workflow_dispatch:
inputs:
tf_dir:
description: 'Example directory'
required: true
default: 'examples/complete'
type: choice
options:
- examples/complete
- examples/simple
- examples/lacework
- examples/datadog
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
example_complete:
uses: tx-pts-dai/github-workflows/.github/workflows/tf-cleanup.yaml@v1
with:
environment: examples
tf_dir: ${{ inputs.tf_dir }}
tf_workspace: ${{ github.ref_name }}