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

abundant-author-13372

02/12/2020, 12:33 PM
Hey guys. I've deployed an awsx.ec2.VPC and an eks.Cluster successfully, but, when trying to destroy, the process gets stuck deleting a subnet and internet gateway. These resources are defined as follows (straight from the tutorial):
Copy code
const vpc = new awsx.ec2.Vpc(name, {
   subnets: [{type: 'public'}],
   tags: tags,
});

const cluster = new eks.Cluster(name, {
    vpcId: vpc.id,
    subnetIds: vpc.publicSubnetIds, }
Any idea on why it's not destroying properly? Could this be a bug? It's happened before, and I've had to go and manually destroy some underlying resources (load blancers I think). I do have some Helm charts deployed in the cluster (manged with pulumi as well) that include Load Balancer services, and these seem to be scheduled for destruction after the subnet and ig. Might this be it? any suggestions on how to properly manage dependencies for these charts?