https://pulumi.com logo
a

able-flag-79751

05/30/2023, 12:38 PM
Hello everyone. I have some resources especially task Definitions that I have manually deleted on my aws ecs console page. Now that I’m trying to destroy all resources (
pulumi destroy -s <my-stack>
), I can’t get them destroyed as it can’t successfully delete those resources that I’ve manually deleted on the aws console. I also tried to delete the stack entirely (
pulumi stack rm <my-stack>
), and it’s the same error I’m getting. Please see image below for more info:
g

glamorous-van-95411

05/30/2023, 1:29 PM
Hi, try running
pulumi refresh
to update the Pulumi state with the latest changes. Then you can continue either deploying with
pulumi up
or destroying with
pulumi destroy
a

able-flag-79751

05/30/2023, 1:45 PM
I’m still getting the same error
g

glamorous-van-95411

05/30/2023, 1:53 PM
I see that there are 2 `awsecsTaskDefinition`s that may be interfering with each other. Maybe you can double check them. If that does not work, you can try fixing by configuring dependencies for the failing asset - the root level
aws:ecs:TaskDefinition
.
3 Views