giantswarm / aws-operator

Manages Kubernetes clusters running on AWS (before Cluster API)

Home Page:https://www.giantswarm.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VPC and peering connection fail to delete

rossf7 opened this issue · comments

VPCs fail to delete because of a problem deleting the peering connection. Fix is to specify the guest and host VPCs.

{"caller":"github.com/giantswarm/aws-operator/service/create/service.go:1286","error":"could not delete vpc peering connection: '[{/go/src/github.com/giantswarm/aws-operator/resources/aws/peering.go:122: } {/go/src/github.com/giantswarm/aws-operator/resources/aws/peering.go:50: vpc peering connection with name  not found} {not found}]'","time":"17-09-08 07:07:45.253"}
{"caller":"github.com/giantswarm/aws-operator/service/create/service.go:1293","error":"could not delete vpc: '[{/go/src/github.com/giantswarm/aws-operator/resources/aws/vpc.go:134: } {DependencyViolation: The vpc 'vpc-2550734d' has dependencies and cannot be deleted.\n\tstatus code: 400, request id: fc816238-3948-4a2f-9c44-59f9173f1455}]'","time":"17-09-08 07:07:45.372"}