wide-finland-25364
01/13/2022, 7:03 AMimport * as awsx from "@pulumi/awsx";
import * as eks from "@pulumi/eks";
// Create a VPC for our cluster.
const vpc = new awsx.ec2.Vpc("pulumi-test-vpc", {
cidrBlock: "10.0.0.0/16",
numberOfAvailabilityZones: 3,
});
// Create an EKS cluster.
const cluster = new eks.Cluster("pulumi-test-cluster", {
instanceType: "t2.small",
desiredCapacity: 2,
minSize: 1,
maxSize: 2,
});
// Export the cluster's kubeconfig.
export const kubeconfig = cluster.kubeconfig;
For some reason, VPC was created with empty name " ", and my EKS cluster was attached to the Default VPC. It took 14m+ to finish deploying.
When I destroyed the deployment, weird enough it deleted the whole thing correctly, even the empty name VPC. Any ideas?echoing-dinner-19531
01/13/2022, 10:40 AMvpcId: vpc.id,
to the cluster settings.wide-finland-25364
01/13/2022, 2:50 PMechoing-dinner-19531
01/13/2022, 3:12 PMtags: { name: "some name" }