From e0bd836e699738f7a7d351dc0be75b2bedcccf3d Mon Sep 17 00:00:00 2001 From: Warrenn Enslin Date: Thu, 24 Oct 2024 14:41:39 +0200 Subject: [PATCH 1/2] ssm parameter miss spelling --- src/stacks/organization/workloads/base/global-stack.ts | 2 +- test/__snapshots__/build.test.ts.snap | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stacks/organization/workloads/base/global-stack.ts b/src/stacks/organization/workloads/base/global-stack.ts index a47c6a3..6549590 100644 --- a/src/stacks/organization/workloads/base/global-stack.ts +++ b/src/stacks/organization/workloads/base/global-stack.ts @@ -46,7 +46,7 @@ export class WorkloadGlobalStack extends DlzStack { topicName: this.resourceName(`${idPrefix}-topic`), }); - new ssm.StringParameter(this, this.resourceName(`${idPrefix}}-notification-id`), { + new ssm.StringParameter(this, this.resourceName(`${idPrefix}-notification-id`), { parameterName: `${SSM_PARAMETER_DLZ_PREFIX}/sns/default-notification/arn`, stringValue: topic.topicArn, }); diff --git a/test/__snapshots__/build.test.ts.snap b/test/__snapshots__/build.test.ts.snap index b222fbe..59f9166 100644 --- a/test/__snapshots__/build.test.ts.snap +++ b/test/__snapshots__/build.test.ts.snap @@ -444,7 +444,7 @@ exports[`Build Local snapshot testing: managementTemplate snapshot 1`] = ` "Properties": { "Code": { "S3Bucket": "cdk-hnb659fds-assets-882070149987-eu-west-1", - "S3Key": "71a9e3e3823d5561f789457818c3528724716e1f1ffd9c0ea663b6167788f869.zip", + "S3Key": "126c60bcf1848dc802af554c84082e990557b2aee55c96893fb3096813afec03.zip", }, "Handler": "__entrypoint__.handler", "MemorySize": 128, @@ -3627,7 +3627,7 @@ exports[`Build Local snapshot testing: workloadGlobalStacksTemplates snapshot 1` }, "Type": "AWS::IAM::ManagedPolicy", }, - "dlzglobaldefaultnotificationnotificationidD34E97EE": { + "dlzglobaldefaultnotificationnotificationid7DFC637C": { "Properties": { "Name": "/dlz/sns/default-notification/arn", "Tags": { @@ -4482,7 +4482,7 @@ exports[`Build Local snapshot testing: workloadGlobalStacksTemplates snapshot 2` }, "Type": "AWS::IAM::ManagedPolicy", }, - "dlzglobaldefaultnotificationnotificationidD34E97EE": { + "dlzglobaldefaultnotificationnotificationid7DFC637C": { "Properties": { "Name": "/dlz/sns/default-notification/arn", "Tags": { From d5306a9040b1d0f6f65b51b30f7920e564a9cc4d Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 24 Oct 2024 13:09:43 +0000 Subject: [PATCH 2/2] chore: self mutation Signed-off-by: github-actions --- test/__snapshots__/build.test.ts.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/__snapshots__/build.test.ts.snap b/test/__snapshots__/build.test.ts.snap index d70835c..5e5eb6f 100644 --- a/test/__snapshots__/build.test.ts.snap +++ b/test/__snapshots__/build.test.ts.snap @@ -444,7 +444,7 @@ exports[`Build Local snapshot testing: managementTemplate snapshot 1`] = ` "Properties": { "Code": { "S3Bucket": "cdk-hnb659fds-assets-882070149987-eu-west-1", - "S3Key": "126c60bcf1848dc802af554c84082e990557b2aee55c96893fb3096813afec03.zip", + "S3Key": "71a9e3e3823d5561f789457818c3528724716e1f1ffd9c0ea663b6167788f869.zip", }, "Handler": "__entrypoint__.handler", "MemorySize": 128, @@ -3795,7 +3795,7 @@ exports[`Build Local snapshot testing: workloadGlobalStacksTemplates snapshot 1` }, "Type": "AWS::SSM::Parameter", }, - "dlzglobaldefaultnotificationnotificationidD34E97EE": { + "dlzglobaldefaultnotificationnotificationid7DFC637C": { "Properties": { "Name": "/dlz/sns/default-notification/arn", "Tags": {