From 1693a7526b10129dd4f2901c88d843c26a69e247 Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Mon, 22 Jan 2024 14:08:12 -0700 Subject: [PATCH 1/3] feat(app-staging-synthesizer-alpha): add support stack description --- .../app-staging-synthesizer-alpha/lib/default-staging-stack.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-staging-stack.ts b/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-staging-stack.ts index 3e98b3458280c..b76b36fee7f5b 100644 --- a/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-staging-stack.ts +++ b/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-staging-stack.ts @@ -242,6 +242,7 @@ export class DefaultStagingStack extends Stack implements IStagingResources { super(scope, id, { ...props, synthesizer: new BootstraplessSynthesizer(), + description: `This stack includes resources needed to deploy the AWS CDK app ${props.appId} into this environment`, analyticsReporting: false, // removing AWS::CDK::Metadata construct saves ~3KB }); // removing path metadata saves ~2KB From 787a7f111432e48721c0707c8ac80eb2c8fbd136 Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Mon, 22 Jan 2024 14:53:01 -0700 Subject: [PATCH 2/3] fix: integration test --- ...tagingStack-default-resourcesmax-ACCOUNT-REGION.template.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.ts.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.ts.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json index fd7794208d185..4e2a7ddfdf99c 100644 --- a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.ts.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json +++ b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.ts.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json @@ -1,4 +1,5 @@ { + "Description": "This stack includes resources needed to deploy the AWS CDK app default-resourcesmax into this environment", "Resources": { "CdkFileRoleE26CEABA": { "Type": "AWS::IAM::Role", From 798bcc87e3a6bd0e19c39fa1c04e4b023dfe7926 Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Mon, 22 Jan 2024 18:13:53 -0700 Subject: [PATCH 3/3] fix: more snapshots --- ...tagingStack-default-resourcesmax-ACCOUNT-REGION.template.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json index fd7794208d185..4e2a7ddfdf99c 100644 --- a/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json +++ b/packages/@aws-cdk/app-staging-synthesizer-alpha/test/integ.synth-default-resources.js.snapshot/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json @@ -1,4 +1,5 @@ { + "Description": "This stack includes resources needed to deploy the AWS CDK app default-resourcesmax into this environment", "Resources": { "CdkFileRoleE26CEABA": { "Type": "AWS::IAM::Role",