diff --git a/examples/cluster/index.ts b/examples/cluster/index.ts index 4938ec37c..87adf0b7e 100644 --- a/examples/cluster/index.ts +++ b/examples/cluster/index.ts @@ -18,6 +18,7 @@ const cluster2 = new eks.Cluster(`${projectName}-2`, { desiredCapacity: 2, minSize: 2, maxSize: 2, + instanceType: "t3.small", deployDashboard: false, enabledClusterLogTypes: [ "api", diff --git a/examples/extra-sg/index.ts b/examples/extra-sg/index.ts index 04e084093..eea9253f2 100644 --- a/examples/extra-sg/index.ts +++ b/examples/extra-sg/index.ts @@ -39,6 +39,9 @@ const ngInstanceProfile = new aws.iam.InstanceProfile( const cluster = new eks.Cluster(`${projectName}`, { skipDefaultNodeGroup: true, instanceRoles: [ngRole], + nodeGroupOptions: { + instanceType: "t3.small", + }, }); // Export the cluster kubeconfig. @@ -91,6 +94,7 @@ const publicInternetEgressRule = new aws.ec2.SecurityGroupRule( cluster.createNodeGroup("example-ng", { instanceProfile: ngInstanceProfile, extraNodeSecurityGroups: [customSecurityGroup], + instanceType: "t3.small", }); // Test with Node Group V2 that we can add a plain type SG and a SG from the cluster as a