UPD: updated destroy command
This commit is contained in:
parent
5732f4bf75
commit
288b79484c
@ -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'"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user