From ce17e13f755b5797aa9fb6ae387bb4c6bbc6c956 Mon Sep 17 00:00:00 2001 From: Annie Hedgpeth <18335499+anniehedgpeth@users.noreply.github.com> Date: Wed, 6 Sep 2023 18:48:47 -0400 Subject: [PATCH] fix destroy command args (#222) --- .github/workflows/handler-destroy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/handler-destroy.yml b/.github/workflows/handler-destroy.yml index b919d4a5..f2b225fc 100644 --- a/.github/workflows/handler-destroy.yml +++ b/.github/workflows/handler-destroy.yml @@ -10,7 +10,7 @@ jobs: uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main secrets: inherit name: Destroy resources from Azure Public Active/Active - if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-public-active-active') }} + if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'public-active-active') }} with: test_name: Public Active/Active utility_test: false @@ -25,7 +25,7 @@ jobs: uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main secrets: inherit name: Destroy resources from Azure Private Active/Active - if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-private-active-active') }} + if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'private-active-active') }} with: test_name: Private Active/Active utility_test: false @@ -40,7 +40,7 @@ jobs: uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main secrets: inherit name: Destroy resources from Azure Private TCP Active/Active - if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-private-tcp-active-active') }} + if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'private-tcp-active-active') }} with: test_name: Private TCP Active/Active utility_test: false @@ -55,7 +55,7 @@ jobs: uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main secrets: inherit name: Destroy resources from Azure Standalone External - if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-standalone-external') }} + if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'standalone-external') }} with: test_name: Standalone External utility_test: false @@ -77,7 +77,7 @@ jobs: uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main secrets: inherit name: Destroy resources from Azure Standalone Mounted Disk - if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-standalone-mounted-disk') }} + if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'standalone-mounted-disk') }} with: test_name: Standalone Mounted Disk utility_test: false