function and Pulumi keeps track of the dependencies between resources.
pulumi destroy
should bring down every resource that was created with
pulumi up
.
👍 1
g
gentle-market-22852
08/22/2022, 1:03 PM
delete state from 20 min.. nothing happening..
l
limited-rainbow-51650
08/22/2022, 1:26 PM
@gentle-market-22852 is there any dependency between the SecurityGroup and the Subnets?
limited-rainbow-51650
08/22/2022, 2:38 PM
You still have an ENI (elastic network interface) attached to the security group and the subnets you wanted to delete. As long as resources are in use, you can’t delete these. Did you completely delete the EKS cluster first which created those ENIs?
👏 1
g
gentle-market-22852
08/22/2022, 2:52 PM
Thank You, deleted the EC2 instance and forgot about EKS clusters as they were not visible in dashboard. Thank you now everything works fine.
Actually I messed up with pulumi during its destory with ctrl+c and then added to it I manually terminated ec2 instance of eks
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.