https://pulumi.com logo
#kubernetes
Title
# kubernetes
a

ancient-chef-75106

12/17/2023, 1:14 AM
Hi, has someone ever got this error before when running
pulumi destroy
for the kubernetes-ts-multicloud example in AWS?
Copy code
aws:ec2:SecurityGroup (cluster-nodeSecurityGroup):
    error: deleting urn:pulumi:aws::kubernetes-ts-multicloud::eks:index:Cluster$aws:ec2/securityGroup:SecurityGroup::cluster-nodeSecurityGroup: 1 error occurred:
        * deleting Security Group (sg-03e0657327cb2cecc): DependencyViolation: resource sg-03e0657327cb2cecc has a dependent object
        status code: 400, request id: 42897ed1-d635-499e-bd6d-66822b498a5c
could solve it, the security group was attached to a network interface, so, I had to delete it first through aws console, and then I deleted the security group. After that, ran
pulumi refresh
and
pulumi destroy
worked successfully