I created an EKS cluster on `VPC-1`, but I want to...
# aws
w
I created an EKS cluster on
VPC-1
, but I want to move that EKS cluster into
default-VPC
- is it as simple as 1. remove VPC-related codes from pulumi 2. import VPC ID - https://www.pulumi.com/registry/packages/aws/api-docs/ec2/vpc/#import Or is it more complicated than that?
f
It depends on your configuration, but try creating a new VPC first, without removing the older one, and connect it to the cluster. Then do
pulumi preview
and see what the result is. Biggest challenge would probably be handling subnet ids, and any other networking components that reside in the VPC, but might be used inside the cluster.