diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b89cc8..16d4771 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,12 @@ name: Terraform Pipeline on: - push: - branches: [main] + workflow_dispatch: + inputs: + destroy: + description: Whether to destroy Terraform resources + required: true + type: boolean env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}