New: [AEA-6523] - Allow unique stack ID as well as stack name #1918
pull_request.yml
on: pull_request
get_config_values
/
get_config_values
7s
pr_title_format_check
/
pr_title_format_check
3s
quality_checks
/
quality_checks
2m 19s
quality_checks
/
IaC-validation
1m 37s
tag_release
/
tag_release
2m 29s
Matrix: quality_checks / docker_vulnerability_scan
package_npm_code
/
package_npm_code
dependabot-auto-approve-and-merge
/
dependabot
Annotations
2 errors
|
quality_checks / quality_checks
Process completed with exit code 2.
|
|
tests/constructs/RestApiGateway.test.ts > RestApiGateway with mTLS and stackUUID > uses stackUUID in trust store deployment key prefix:
packages/cdkConstructs/tests/constructs/RestApiGateway.test.ts#L387
AssertionError: Template has 1 resources with type Custom::CDKBucketDeployment, but none match as expected.
The 1 closest matches:
TestApiGatewayTrustStoreDeploymentCustomResource8F03C80D :: {
"DeletionPolicy": "Delete",
"Properties": {
"DestinationBucketArn": { "Fn::ImportValue": "account-resources:TrustStoreDeploymentBucket" },
"DestinationBucketKeyPrefix": "cpt-api/test-stack-f47ac10b-truststore",
"DestinationBucketName": { "Fn::Select": [ ... ] },
!! Missing key 'DestinationKeyPrefix'
"DestinationKeyPrefix": undefined,
"Extract": false,
"OutputObjectKeys": true,
"Prune": true,
"RetainOnDelete": false,
"ServiceToken": { "Fn::GetAtt": [ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536", "Arn" ] },
"SourceBucketNames": [ { "Fn::Select": [ ... ] } ],
"SourceObjectKeys": [ "truststore.pem" ],
"WaitForDistributionInvalidation": true
},
"Type": "Custom::CDKBucketDeployment",
"UpdateReplacePolicy": "Delete"
}
❯ Template.hasResourceProperties ../../node_modules/aws-cdk-lib/assertions/lib/template.js:1:3201
❯ tests/constructs/RestApiGateway.test.ts:387:14
|