UPD: updated destroy command

This commit is contained in:
xpk 2022-08-29 11:10:00 +08:00
parent 5732f4bf75
commit 288b79484c
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -6,6 +6,6 @@ resource "null_resource" "cli-inspector2" {
provisioner "local-exec" { provisioner "local-exec" {
when = destroy when = destroy
command = "/bin/bash -c 'aws inspector2 disable'" command = "/bin/bash -c 'aws inspector2 disable --resource-types \"ECR\"; sleep 30; aws inspector2 disable'"
} }
} }