We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c58830 commit b51b991Copy full SHA for b51b991
infra/test/infra.test.ts
@@ -20,12 +20,12 @@ describe('Stack contains resources', () => {
20
// Test that it's a supported version
21
test('EKS cluster with supported Kubernetes version', () => {
22
// This is a non-ideal way of validating supported versions, but seems to work.
23
- const supportedVersionsRegex = '1.19|1.20|1.21|1.22|1.23';
+ const supportedVersionsRegex = '1.[0-9]{2}';
24
template.hasResourceProperties('Custom::AWSCDK-EKS-Cluster', {
25
Config: {
26
version: Match.stringLikeRegexp(supportedVersionsRegex)
27
}
28
});
29
30
31
-});
+});
0 commit comments