Skip to content

Commit ad519ec

Browse files
committed
Some more t3 instead of t2 instance sizes in examples
1 parent 2481dde commit ad519ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/extra-sg/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ const ngInstanceProfile = new aws.iam.InstanceProfile(
3939
const cluster = new eks.Cluster(`${projectName}`, {
4040
skipDefaultNodeGroup: true,
4141
instanceRoles: [ngRole],
42+
nodeGroupOptions: {
43+
instanceType: "t3.small",
44+
},
4245
});
4346

4447
// Export the cluster kubeconfig.
@@ -91,6 +94,7 @@ const publicInternetEgressRule = new aws.ec2.SecurityGroupRule(
9194
cluster.createNodeGroup("example-ng", {
9295
instanceProfile: ngInstanceProfile,
9396
extraNodeSecurityGroups: [customSecurityGroup],
97+
instanceType: "t3.small",
9498
});
9599

96100
// Test with Node Group V2 that we can add a plain type SG and a SG from the cluster as a

0 commit comments

Comments
 (0)