Skip to content

Commit 4e858f2

Browse files
authored
feat(eks): support for Kubernetes version 1.23 (#22638)
Add support for Kubernetes Version 1.23. In order to use this version, customers must pass in a `KubectlLayer` object from `@aws-cdk/lambda-layer-kubectl-v23` to the `kubectlLayer` construct prop of `Cluster`. ---- ### All Submissions: * [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 66d1ed3 commit 4e858f2

File tree

63 files changed

+220
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+220
-164
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
"@aws-cdk/aws-cognito/punycode/**",
9292
"@aws-cdk/aws-ecr-assets/minimatch",
9393
"@aws-cdk/aws-ecr-assets/minimatch/**",
94+
"@aws-cdk/aws-eks/semver",
95+
"@aws-cdk/aws-eks/semver/**",
9496
"@aws-cdk/aws-eks/yaml",
9597
"@aws-cdk/aws-eks/yaml/**",
9698
"@aws-cdk/aws-events-targets/aws-sdk",

packages/@aws-cdk/aws-eks/lib/cluster.ts

+13-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import * as lambda from '@aws-cdk/aws-lambda';
88
import * as ssm from '@aws-cdk/aws-ssm';
99
import { Annotations, CfnOutput, CfnResource, IResource, Resource, Stack, Tags, Token, Duration, Size } from '@aws-cdk/core';
1010
import { Construct, Node } from 'constructs';
11+
import * as semver from 'semver';
1112
import * as YAML from 'yaml';
1213
import { AlbController, AlbControllerOptions } from './alb-controller';
1314
import { AwsAuth } from './aws-auth';
@@ -853,6 +854,15 @@ export class KubernetesVersion {
853854
*/
854855
public static readonly V1_22 = KubernetesVersion.of('1.22');
855856

857+
/**
858+
* Kubernetes version 1.23
859+
*
860+
* When creating a `Cluster` with this version, you need to also specify the
861+
* `kubectlLayer` property with a `KubectlV23Layer` from
862+
* `@aws-cdk/lambda-layer-kubectl-v23`.
863+
*/
864+
public static readonly V1_23 = KubernetesVersion.of('1.23');
865+
856866
/**
857867
* Custom cluster version
858868
* @param version custom version number
@@ -1372,8 +1382,9 @@ export class Cluster extends ClusterBase {
13721382
this.prune = props.prune ?? true;
13731383
this.vpc = props.vpc || new ec2.Vpc(this, 'DefaultVpc');
13741384

1375-
if (props.version === KubernetesVersion.V1_22 && !props.kubectlLayer) {
1376-
Annotations.of(this).addWarning(`You created a cluster with Kubernetes Version ${props.version} without specifying the kubectlLayer property. This may cause failures as the kubectl version provided with aws-cdk-lib is 1.20, which is only guaranteed to be compatible with Kubernetes versions 1.19-1.21. Please provide a kubectlLayer from @aws-cdk/lambda-layer-kubectl-v22.`);
1385+
const kubectlVersion = new semver.SemVer(`${props.version.version}.0`);
1386+
if (semver.gte(kubectlVersion, '1.22.0') && !props.kubectlLayer) {
1387+
Annotations.of(this).addWarning(`You created a cluster with Kubernetes Version ${props.version.version} without specifying the kubectlLayer property. This may cause failures as the kubectl version provided with aws-cdk-lib is 1.20, which is only guaranteed to be compatible with Kubernetes versions 1.19-1.21. Please provide a kubectlLayer from @aws-cdk/lambda-layer-kubectl-v${kubectlVersion.minor}.`);
13771388
};
13781389
this.version = props.version;
13791390
this.kubectlLambdaRole = props.kubectlLambdaRole ? props.kubectlLambdaRole : undefined;

packages/@aws-cdk/aws-eks/package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
},
8181
"license": "Apache-2.0",
8282
"devDependencies": {
83-
"@aws-cdk/lambda-layer-kubectl-v22": "2.0.0",
84-
"aws-cdk-lib": "2.47.0",
83+
"@aws-cdk/lambda-layer-kubectl-v23": "^2.0.0",
84+
"aws-cdk-lib": "^2.47.0",
8585
"@aws-cdk/assertions": "0.0.0",
8686
"@aws-cdk/cdk-build-tools": "0.0.0",
8787
"@aws-cdk/integ-runner": "0.0.0",
@@ -95,7 +95,7 @@
9595
"aws-sdk": "^2.1211.0",
9696
"cdk8s": "^2.5.28",
9797
"cdk8s-plus-21": "^2.0.0-beta.12",
98-
"cdk8s-plus-22": "^2.0.0-rc.158",
98+
"cdk8s-plus-23": "2.0.2",
9999
"jest": "^27.5.1",
100100
"sinon": "^9.2.4"
101101
},
@@ -113,9 +113,11 @@
113113
"@aws-cdk/lambda-layer-kubectl": "0.0.0",
114114
"@aws-cdk/lambda-layer-node-proxy-agent": "0.0.0",
115115
"constructs": "^10.0.0",
116+
"semver": "^7.3.8",
116117
"yaml": "1.10.2"
117118
},
118119
"bundledDependencies": [
120+
"semver",
119121
"yaml"
120122
],
121123
"homepage": "https://github.com/aws/aws-cdk",

packages/@aws-cdk/aws-eks/test/alb-controller.integ.snapshot/aws-cdk-eks-cluster-alb-controller-test.assets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"version": "21.0.0",
33
"files": {
4-
"c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30": {
4+
"dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d": {
55
"source": {
6-
"path": "asset.c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip",
6+
"path": "asset.dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip",
77
"packaging": "file"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip",
12+
"objectKey": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}
@@ -144,15 +144,15 @@
144144
}
145145
}
146146
},
147-
"c6b7a3e3c841118ec365de6b3227d6ec23618b7716c20175c7f18822b22fa08d": {
147+
"1e8f5b9efc22fb7df3c3a0e894ec6ddf91d5b71c100c70638ff47b2379c3a749": {
148148
"source": {
149149
"path": "aws-cdk-eks-cluster-alb-controller-test.template.json",
150150
"packaging": "file"
151151
},
152152
"destinations": {
153153
"current_account-current_region": {
154154
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
155-
"objectKey": "c6b7a3e3c841118ec365de6b3227d6ec23618b7716c20175c7f18822b22fa08d.json",
155+
"objectKey": "1e8f5b9efc22fb7df3c3a0e894ec6ddf91d5b71c100c70638ff47b2379c3a749.json",
156156
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
157157
}
158158
}

packages/@aws-cdk/aws-eks/test/alb-controller.integ.snapshot/aws-cdk-eks-cluster-alb-controller-test.template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@
402402
"S3Bucket": {
403403
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
404404
},
405-
"S3Key": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip"
405+
"S3Key": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip"
406406
},
407-
"Description": "/opt/kubectl/kubectl 1.22; /opt/helm/helm 3.9",
407+
"Description": "/opt/kubectl/kubectl 1.23; /opt/helm/helm 3.9",
408408
"LicenseInfo": "Apache-2.0"
409409
}
410410
},
@@ -608,7 +608,7 @@
608608
]
609609
},
610610
"Config": {
611-
"version": "1.22",
611+
"version": "1.23",
612612
"roleArn": {
613613
"Fn::GetAtt": [
614614
"ClusterRoleFA261979",

packages/@aws-cdk/aws-eks/test/alb-controller.integ.snapshot/manifest.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"validateOnSynth": false,
2424
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
2525
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
26-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/c6b7a3e3c841118ec365de6b3227d6ec23618b7716c20175c7f18822b22fa08d.json",
26+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/1e8f5b9efc22fb7df3c3a0e894ec6ddf91d5b71c100c70638ff47b2379c3a749.json",
2727
"requiresBootstrapStackVersion": 6,
2828
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2929
"additionalDependencies": [
@@ -168,7 +168,10 @@
168168
"/aws-cdk-eks-cluster-alb-controller-test/KubectlLayer/Resource": [
169169
{
170170
"type": "aws:cdk:logicalId",
171-
"data": "KubectlLayer600207B5"
171+
"data": "KubectlLayer600207B5",
172+
"trace": [
173+
"!!DESTRUCTIVE_CHANGES: WILL_REPLACE"
174+
]
172175
}
173176
],
174177
"/aws-cdk-eks-cluster-alb-controller-test/Cluster/Role/Resource": [

packages/@aws-cdk/aws-eks/test/alb-controller.integ.snapshot/tree.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,9 @@
691691
"s3Bucket": {
692692
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
693693
},
694-
"s3Key": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip"
694+
"s3Key": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip"
695695
},
696-
"description": "/opt/kubectl/kubectl 1.22; /opt/helm/helm 3.9",
696+
"description": "/opt/kubectl/kubectl 1.23; /opt/helm/helm 3.9",
697697
"licenseInfo": "Apache-2.0"
698698
}
699699
},
@@ -704,7 +704,7 @@
704704
}
705705
},
706706
"constructInfo": {
707-
"fqn": "@aws-cdk/lambda-layer-kubectl-v22.KubectlV22Layer",
707+
"fqn": "@aws-cdk/lambda-layer-kubectl-v23.KubectlV23Layer",
708708
"version": "2.0.0"
709709
}
710710
},

packages/@aws-cdk/aws-eks/test/cluster.test.ts

+39-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as fs from 'fs';
22
import * as path from 'path';
3-
import { Match, Template } from '@aws-cdk/assertions';
3+
import { Annotations, Match, Template } from '@aws-cdk/assertions';
44
import * as asg from '@aws-cdk/aws-autoscaling';
55
import * as ec2 from '@aws-cdk/aws-ec2';
66
import * as iam from '@aws-cdk/aws-iam';
@@ -3073,6 +3073,44 @@ describe('cluster', () => {
30733073
});
30743074
});
30753075

3076+
describe('kubectlLayer annotation', () => {
3077+
function message(version: string) {
3078+
return [
3079+
'You created a cluster with Kubernetes Version 1.23 without specifying the kubectlLayer property.',
3080+
'This may cause failures as the kubectl version provided with aws-cdk-lib is 1.20, which is only guaranteed to be compatible with Kubernetes versions 1.19-1.21.',
3081+
`Please provide a kubectlLayer from @aws-cdk/lambda-layer-kubectl-v${version}.`,
3082+
].join(' ');
3083+
}
3084+
3085+
test('not added when version < 1.22 and no kubectl layer provided', () => {
3086+
// GIVEN
3087+
const { stack } = testFixture();
3088+
3089+
// WHEN
3090+
new eks.Cluster(stack, 'Cluster1', {
3091+
version: eks.KubernetesVersion.V1_21,
3092+
prune: false,
3093+
});
3094+
3095+
// THEN
3096+
Annotations.fromStack(stack).hasNoWarning('/Stack/Cluster1', message('21'));
3097+
});
3098+
3099+
test('added when version >= 1.22 and no kubectl layer provided', () => {
3100+
// GIVEN
3101+
const { stack } = testFixture();
3102+
3103+
// WHEN
3104+
new eks.Cluster(stack, 'Cluster1', {
3105+
version: eks.KubernetesVersion.V1_23,
3106+
prune: false,
3107+
});
3108+
3109+
// THEN
3110+
Annotations.fromStack(stack).hasWarning('/Stack/Cluster1', message('23'));
3111+
});
3112+
});
3113+
30763114
test('custom awscli layer can be provided', () => {
30773115
// GIVEN
30783116
const { stack } = testFixture();

packages/@aws-cdk/aws-eks/test/eks-bottlerocket-ng.integ.snapshot/aws-cdk-eks-cluster-bottlerocket-ng-test.assets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"version": "21.0.0",
33
"files": {
4-
"c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30": {
4+
"dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d": {
55
"source": {
6-
"path": "asset.c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip",
6+
"path": "asset.dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip",
77
"packaging": "file"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip",
12+
"objectKey": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}
@@ -105,15 +105,15 @@
105105
}
106106
}
107107
},
108-
"4c83be2cb27d35f5ebcdead395ca2da423e85d21119ceecee4aeb55986d1b0ae": {
108+
"6827931205ccb42a1c15c1b863588327e792dd232f257d2ad1cf32854538f0e3": {
109109
"source": {
110110
"path": "aws-cdk-eks-cluster-bottlerocket-ng-test.template.json",
111111
"packaging": "file"
112112
},
113113
"destinations": {
114114
"current_account-current_region": {
115115
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
116-
"objectKey": "4c83be2cb27d35f5ebcdead395ca2da423e85d21119ceecee4aeb55986d1b0ae.json",
116+
"objectKey": "6827931205ccb42a1c15c1b863588327e792dd232f257d2ad1cf32854538f0e3.json",
117117
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
118118
}
119119
}

packages/@aws-cdk/aws-eks/test/eks-bottlerocket-ng.integ.snapshot/aws-cdk-eks-cluster-bottlerocket-ng-test.template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,9 @@
434434
"S3Bucket": {
435435
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
436436
},
437-
"S3Key": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip"
437+
"S3Key": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip"
438438
},
439-
"Description": "/opt/kubectl/kubectl 1.22; /opt/helm/helm 3.9",
439+
"Description": "/opt/kubectl/kubectl 1.23; /opt/helm/helm 3.9",
440440
"LicenseInfo": "Apache-2.0"
441441
}
442442
},
@@ -640,7 +640,7 @@
640640
]
641641
},
642642
"Config": {
643-
"version": "1.22",
643+
"version": "1.23",
644644
"roleArn": {
645645
"Fn::GetAtt": [
646646
"ClusterRoleFA261979",

packages/@aws-cdk/aws-eks/test/eks-bottlerocket-ng.integ.snapshot/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"validateOnSynth": false,
2424
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
2525
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
26-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4c83be2cb27d35f5ebcdead395ca2da423e85d21119ceecee4aeb55986d1b0ae.json",
26+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/6827931205ccb42a1c15c1b863588327e792dd232f257d2ad1cf32854538f0e3.json",
2727
"requiresBootstrapStackVersion": 6,
2828
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2929
"additionalDependencies": [

packages/@aws-cdk/aws-eks/test/eks-bottlerocket-ng.integ.snapshot/tree.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -741,9 +741,9 @@
741741
"s3Bucket": {
742742
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
743743
},
744-
"s3Key": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip"
744+
"s3Key": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip"
745745
},
746-
"description": "/opt/kubectl/kubectl 1.22; /opt/helm/helm 3.9",
746+
"description": "/opt/kubectl/kubectl 1.23; /opt/helm/helm 3.9",
747747
"licenseInfo": "Apache-2.0"
748748
}
749749
},
@@ -754,7 +754,7 @@
754754
}
755755
},
756756
"constructInfo": {
757-
"fqn": "@aws-cdk/lambda-layer-kubectl-v22.KubectlV22Layer",
757+
"fqn": "@aws-cdk/lambda-layer-kubectl-v23.KubectlV23Layer",
758758
"version": "2.0.0"
759759
}
760760
},

packages/@aws-cdk/aws-eks/test/eks-cluster-handlers-vpc.integ.snapshot/aws-cdk-eks-handlers-in-vpc-test.assets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"version": "21.0.0",
33
"files": {
4-
"c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30": {
4+
"dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d": {
55
"source": {
6-
"path": "asset.c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip",
6+
"path": "asset.dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip",
77
"packaging": "file"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip",
12+
"objectKey": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}
@@ -105,15 +105,15 @@
105105
}
106106
}
107107
},
108-
"d8b035beb3e2f00d909d6388deffc6d1a568e49f218d698a0ff456b1ad3410fa": {
108+
"9911fd83c996d002742fa726a52e047d10938e112537f18be6ddf95b9c29acac": {
109109
"source": {
110110
"path": "aws-cdk-eks-handlers-in-vpc-test.template.json",
111111
"packaging": "file"
112112
},
113113
"destinations": {
114114
"current_account-current_region": {
115115
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
116-
"objectKey": "d8b035beb3e2f00d909d6388deffc6d1a568e49f218d698a0ff456b1ad3410fa.json",
116+
"objectKey": "9911fd83c996d002742fa726a52e047d10938e112537f18be6ddf95b9c29acac.json",
117117
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
118118
}
119119
}

packages/@aws-cdk/aws-eks/test/eks-cluster-handlers-vpc.integ.snapshot/aws-cdk-eks-handlers-in-vpc-test.template.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"S3Bucket": {
88
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
99
},
10-
"S3Key": "c0f40a9fd16d1698ca05765606c04c8724dc5c8355b6e124a39af09449a3aa30.zip"
10+
"S3Key": "dd8086b05eeea461708bd66ad140d8965ddf70c0e144af871d078fdbddf0a67d.zip"
1111
},
12-
"Description": "/opt/kubectl/kubectl 1.22; /opt/helm/helm 3.9",
12+
"Description": "/opt/kubectl/kubectl 1.23; /opt/helm/helm 3.9",
1313
"LicenseInfo": "Apache-2.0"
1414
}
1515
},
@@ -656,7 +656,7 @@
656656
]
657657
},
658658
"Config": {
659-
"version": "1.22",
659+
"version": "1.23",
660660
"roleArn": {
661661
"Fn::GetAtt": [
662662
"EksAllHandlersInVpcStackRoleC36F09F0",

packages/@aws-cdk/aws-eks/test/eks-cluster-handlers-vpc.integ.snapshot/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"validateOnSynth": false,
2424
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
2525
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
26-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/d8b035beb3e2f00d909d6388deffc6d1a568e49f218d698a0ff456b1ad3410fa.json",
26+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/9911fd83c996d002742fa726a52e047d10938e112537f18be6ddf95b9c29acac.json",
2727
"requiresBootstrapStackVersion": 6,
2828
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2929
"additionalDependencies": [

0 commit comments

Comments
 (0)