In this case, Pulumi sends the delete API request which succeeds. AWS then spends 5 minutes failing to delete the SG. There's not much that Pulumi can do, unfortunately...
little-cartoon-10569
11/22/2021, 7:40 PM
If you import the ENI and associate them correctly, then Pulumi will know that the deletion will fail and tell you before even sending the API request.
b
brave-nightfall-19158
11/22/2021, 11:30 PM
Yeah that’s correct.. AWS spends time trying to do stuff it can’t do. Ha. Except in console when trying to delete the SG it is an immediate response, so assumed the cli or however pulumi does it would also get the same error response and not keep trying?
l
little-cartoon-10569
11/23/2021, 12:09 AM
Don't know about that. I know Pulumi (or maybe the TF bridge?) handles similar situations better, so there may be something Pulumi can do to make it better. Maybe you could raise an issue in GitHub about it?
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.