Skip to content

Commit 9c42458

Browse files
authored
fix(cdk-integ-tools): enabling all feature flags in cdk-integ-tools for CDK v1 (#410)
* fix(cdk-integ-tools): enabling all feature flags in cdk-integ-tools for CDK v1
1 parent 3ddf6ef commit 9c42458

File tree

187 files changed

+6153
-4609
lines changed

Some content is hidden

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

187 files changed

+6153
-4609
lines changed

.viperlightignore

+26-26
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ node_modules/
55
deployment/publishing/nuget/publish.sh:43
66
deployment/publishing/nuget/publish.sh:44
77
source/use_cases/aws-serverless-web-app/test/integ.backend-deployment.expected.json:180
8-
source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/test/integ.deployFunction.expected.json:204
9-
source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/test/integ.existingFunction.expected.json:204
10-
source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway/test/integ.no-arguments.expected.json:204
8+
source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/test/integ.deployFunction.expected.json:172
9+
source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/test/integ.existingFunction.expected.json:172
10+
source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway/test/integ.no-arguments.expected.json:172
1111
source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/integ.apigateway-dynamodb-existing-table.expected.json:60
1212
CODE_OF_CONDUCT.md:4
1313
CONTRIBUTING.md:244
@@ -38,8 +38,8 @@ source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.defaultP
3838
source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.overrideParams.expected.json:269
3939
source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/test.apigateway-iot.test.ts:29
4040
source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.override_auth_api_keys.expected.json:267
41-
source/patterns/@aws-solutions-constructs/aws-cloudfront-s3/test/test.cloudfront-s3.test.ts:118
42-
source/patterns/@aws-solutions-constructs/core/test/cloudfront-distribution-s3-helper.test.ts:164
41+
source/patterns/@aws-solutions-constructs/core/test/cloudfront-distribution-s3-helper.test.ts:487
42+
source/patterns/@aws-solutions-constructs/aws-cloudfront-s3/test/test.cloudfront-s3.test.ts:214
4343
source/patterns/@aws-solutions-constructs/aws-s3-sqs/test/test.s3-sqs.test.ts:251
4444
source/use_cases/aws-custom-glue-etl/stream-producer/generate_data.py:86
4545
source/use_cases/aws-custom-glue-etl/stream-producer/generate_data.py:87
@@ -65,27 +65,27 @@ source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/inte
6565
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.deployFunction.expected.json:60
6666
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.deployFunction.expected.json:63
6767
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.deployFunction.expected.json:66
68-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:593
69-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:596
70-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:599
71-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:602
72-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:605
73-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:608
74-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:611
75-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:614
76-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:617
77-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:620
78-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:623
79-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:626
80-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:629
81-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:632
82-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:635
83-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:638
84-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:641
85-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:644
86-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:647
87-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:650
88-
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:653
68+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:500
69+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:503
70+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:506
71+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:509
72+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:512
73+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:515
74+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:518
75+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:521
76+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:524
77+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:527
78+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:530
79+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:533
80+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:536
81+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:539
82+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:542
83+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:545
84+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:548
85+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:551
86+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:554
87+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:557
88+
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingFunction.expected.json:560
8989
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingSageMakerEndpoint.expected.json:6
9090
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingSageMakerEndpoint.expected.json:9
9191
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/test/integ.existingSageMakerEndpoint.expected.json:12

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/integ.apigateway-dynamodb-CRUD.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -653,5 +653,39 @@
653653
]
654654
}
655655
}
656+
},
657+
"Parameters": {
658+
"BootstrapVersion": {
659+
"Type": "AWS::SSM::Parameter::Value<String>",
660+
"Default": "/cdk-bootstrap/hnb659fds/version",
661+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
662+
}
663+
},
664+
"Rules": {
665+
"CheckBootstrapVersion": {
666+
"Assertions": [
667+
{
668+
"Assert": {
669+
"Fn::Not": [
670+
{
671+
"Fn::Contains": [
672+
[
673+
"1",
674+
"2",
675+
"3",
676+
"4",
677+
"5"
678+
],
679+
{
680+
"Ref": "BootstrapVersion"
681+
}
682+
]
683+
}
684+
]
685+
},
686+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
687+
}
688+
]
689+
}
656690
}
657691
}

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/integ.apigateway-dynamodb-existing-table.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -368,5 +368,39 @@
368368
]
369369
}
370370
}
371+
},
372+
"Parameters": {
373+
"BootstrapVersion": {
374+
"Type": "AWS::SSM::Parameter::Value<String>",
375+
"Default": "/cdk-bootstrap/hnb659fds/version",
376+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
377+
}
378+
},
379+
"Rules": {
380+
"CheckBootstrapVersion": {
381+
"Assertions": [
382+
{
383+
"Assert": {
384+
"Fn::Not": [
385+
{
386+
"Fn::Contains": [
387+
[
388+
"1",
389+
"2",
390+
"3",
391+
"4",
392+
"5"
393+
],
394+
{
395+
"Ref": "BootstrapVersion"
396+
}
397+
]
398+
}
399+
]
400+
},
401+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
402+
}
403+
]
404+
}
371405
}
372406
}

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/integ.no-arguments.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -368,5 +368,39 @@
368368
]
369369
}
370370
}
371+
},
372+
"Parameters": {
373+
"BootstrapVersion": {
374+
"Type": "AWS::SSM::Parameter::Value<String>",
375+
"Default": "/cdk-bootstrap/hnb659fds/version",
376+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
377+
}
378+
},
379+
"Rules": {
380+
"CheckBootstrapVersion": {
381+
"Assertions": [
382+
{
383+
"Assert": {
384+
"Fn::Not": [
385+
{
386+
"Fn::Contains": [
387+
[
388+
"1",
389+
"2",
390+
"3",
391+
"4",
392+
"5"
393+
],
394+
{
395+
"Ref": "BootstrapVersion"
396+
}
397+
]
398+
}
399+
]
400+
},
401+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
402+
}
403+
]
404+
}
371405
}
372406
}

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.defaultParams.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -1257,5 +1257,39 @@
12571257
]
12581258
}
12591259
}
1260+
},
1261+
"Parameters": {
1262+
"BootstrapVersion": {
1263+
"Type": "AWS::SSM::Parameter::Value<String>",
1264+
"Default": "/cdk-bootstrap/hnb659fds/version",
1265+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
1266+
}
1267+
},
1268+
"Rules": {
1269+
"CheckBootstrapVersion": {
1270+
"Assertions": [
1271+
{
1272+
"Assert": {
1273+
"Fn::Not": [
1274+
{
1275+
"Fn::Contains": [
1276+
[
1277+
"1",
1278+
"2",
1279+
"3",
1280+
"4",
1281+
"5"
1282+
],
1283+
{
1284+
"Ref": "BootstrapVersion"
1285+
}
1286+
]
1287+
}
1288+
]
1289+
},
1290+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
1291+
}
1292+
]
1293+
}
12601294
}
12611295
}

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.overrideParams.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -1386,5 +1386,39 @@
13861386
]
13871387
}
13881388
}
1389+
},
1390+
"Parameters": {
1391+
"BootstrapVersion": {
1392+
"Type": "AWS::SSM::Parameter::Value<String>",
1393+
"Default": "/cdk-bootstrap/hnb659fds/version",
1394+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
1395+
}
1396+
},
1397+
"Rules": {
1398+
"CheckBootstrapVersion": {
1399+
"Assertions": [
1400+
{
1401+
"Assert": {
1402+
"Fn::Not": [
1403+
{
1404+
"Fn::Contains": [
1405+
[
1406+
"1",
1407+
"2",
1408+
"3",
1409+
"4",
1410+
"5"
1411+
],
1412+
{
1413+
"Ref": "BootstrapVersion"
1414+
}
1415+
]
1416+
}
1417+
]
1418+
},
1419+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
1420+
}
1421+
]
1422+
}
13891423
}
13901424
}

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.override_auth_api_keys.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -1384,5 +1384,39 @@
13841384
]
13851385
}
13861386
}
1387+
},
1388+
"Parameters": {
1389+
"BootstrapVersion": {
1390+
"Type": "AWS::SSM::Parameter::Value<String>",
1391+
"Default": "/cdk-bootstrap/hnb659fds/version",
1392+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
1393+
}
1394+
},
1395+
"Rules": {
1396+
"CheckBootstrapVersion": {
1397+
"Assertions": [
1398+
{
1399+
"Assert": {
1400+
"Fn::Not": [
1401+
{
1402+
"Fn::Contains": [
1403+
[
1404+
"1",
1405+
"2",
1406+
"3",
1407+
"4",
1408+
"5"
1409+
],
1410+
{
1411+
"Ref": "BootstrapVersion"
1412+
}
1413+
]
1414+
}
1415+
]
1416+
},
1417+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
1418+
}
1419+
]
1420+
}
13871421
}
13881422
}

source/patterns/@aws-solutions-constructs/aws-apigateway-kinesisstreams/test/integ.apigateway-kinesis-overwrite.expected.json

+34
Original file line numberDiff line numberDiff line change
@@ -542,5 +542,39 @@
542542
]
543543
}
544544
}
545+
},
546+
"Parameters": {
547+
"BootstrapVersion": {
548+
"Type": "AWS::SSM::Parameter::Value<String>",
549+
"Default": "/cdk-bootstrap/hnb659fds/version",
550+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store."
551+
}
552+
},
553+
"Rules": {
554+
"CheckBootstrapVersion": {
555+
"Assertions": [
556+
{
557+
"Assert": {
558+
"Fn::Not": [
559+
{
560+
"Fn::Contains": [
561+
[
562+
"1",
563+
"2",
564+
"3",
565+
"4",
566+
"5"
567+
],
568+
{
569+
"Ref": "BootstrapVersion"
570+
}
571+
]
572+
}
573+
]
574+
},
575+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
576+
}
577+
]
578+
}
545579
}
546580
}

0 commit comments

Comments
 (0)