@@ -142,9 +142,9 @@ const MngProps: blueprints.MngClusterProviderProps = {
142
142
minSize : 2 ,
143
143
maxSize : 2 ,
144
144
desiredSize : 2 ,
145
- version : eks . KubernetesVersion . V1_29 ,
146
- instanceTypes : [ new ec2 . InstanceType ( 'm5 .large' ) ] ,
147
- amiType : eks . NodegroupAmiType . AL2_X86_64 ,
145
+ version : eks . KubernetesVersion . V1_31 ,
146
+ instanceTypes : [ new ec2 . InstanceType ( 'm7g .large' ) ] ,
147
+ amiType : eks . NodegroupAmiType . AL2023_ARM_64_STANDARD ,
148
148
enableSsmPermissions : true ,
149
149
nodeGroupTags : {
150
150
"Name" : cdk . Aws . STACK_NAME + "-ClusterComponents" ,
@@ -154,7 +154,7 @@ const MngProps: blueprints.MngClusterProviderProps = {
154
154
155
155
// Deploy EKS cluster with all add-ons
156
156
const blueprint = blueprints . EksBlueprint . builder ( )
157
- . version ( eks . KubernetesVersion . V1_29 )
157
+ . version ( eks . KubernetesVersion . V1_31 )
158
158
. addOns ( ...addOns )
159
159
. resourceProvider (
160
160
blueprints . GlobalResources . Vpc ,
@@ -167,7 +167,7 @@ const blueprint = blueprints.EksBlueprint.builder()
167
167
. resourceProvider ( "s3GWEndpoint" , new s3GWEndpointProvider ( "s3GWEndpoint" ) )
168
168
. clusterProvider ( new blueprints . MngClusterProvider ( MngProps ) )
169
169
. build ( scope , id + 'Stack' , props ) ;
170
-
170
+ /*
171
171
// Workaround for permission denied when creating cluster
172
172
const handler = blueprint.node.tryFindChild('@aws-cdk--aws-eks.KubectlProvider')!
173
173
.node.tryFindChild('Handler')! as cdk.aws_lambda.Function
@@ -184,7 +184,7 @@ const blueprint = blueprints.EksBlueprint.builder()
184
184
actions: ["lambda:GetFunctionConfiguration"],
185
185
resources: [handler.functionArn]
186
186
}))
187
-
187
+ */
188
188
// Provide static output name for cluster
189
189
const cluster = blueprint . getClusterInfo ( ) . cluster
190
190
const clusterNameCfnOutput = cluster . node . findChild ( 'ClusterName' ) as cdk . CfnOutput ;
0 commit comments