<@U01UELY9YUR> You need to import all the subnets ...
# general
e
@polite-napkin-90098 You need to import all the subnets individually if you're putting EKS onto existing subnets: https://www.pulumi.com/registry/packages/aws/api-docs/ec2/subnet/#import
p
Thanks Jack, I'll have a look at that. I 'solved' my problem by just specifying the subnet ids in vars in my code, not very elegant, but I have a need for speed at the moment. When I revisit the code I'll look at importing the subnets.
e
@polite-napkin-90098 Late reply but that`s a better way anyway imo, otherwise you have a bunch of protected state that is a pain in the arse when you're trying to destroy things
👍 1
p
With this now, the subnet ids are specified as Configuration Values in the stack. I expect I will move to managing the subnets with Pulumi at some point and then will only need to provide a VPC id as a Configuration Value.