From 42bdc66cb2b09ff728a1bc4a31876f5b38fda171 Mon Sep 17 00:00:00 2001 From: "Joakim L. Engeset" Date: Wed, 9 Oct 2024 12:08:44 +0200 Subject: [PATCH] fix: update snapshots --- .../assembly-cdk-pipeline-cdk-source-example/manifest.json | 1 + .../manifest.json | 1 + __snapshots__/app/manifest.json | 5 +++++ .../__snapshots__/hosted-zone-with-param.test.ts.snap | 2 +- .../ssm-parameter-backed-resource.test.ts.snap | 4 ++-- .../__snapshots__/ssm-parameter-reader.test.ts.snap | 2 +- .../__snapshots__/webapp-deploy-via-role.test.ts.snap | 2 +- .../__snapshots__/cloudtrail-slack-integration.test.ts.snap | 6 +++--- src/ecs/__tests__/__snapshots__/cluster.test.ts.snap | 2 +- 9 files changed, 16 insertions(+), 9 deletions(-) diff --git a/__snapshots__/app/assembly-cdk-pipeline-cdk-source-example/manifest.json b/__snapshots__/app/assembly-cdk-pipeline-cdk-source-example/manifest.json index 4007e088..d4da4a66 100644 --- a/__snapshots__/app/assembly-cdk-pipeline-cdk-source-example/manifest.json +++ b/__snapshots__/app/assembly-cdk-pipeline-cdk-source-example/manifest.json @@ -15,6 +15,7 @@ "templateFile": "cdkpipelinecdksourceexample06670C59.template.json", "terminationProtection": false, "validateOnSynth": true, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/snapshot-value.json", diff --git a/__snapshots__/app/assembly-cdk-pipeline-cloud-assembly-example/manifest.json b/__snapshots__/app/assembly-cdk-pipeline-cloud-assembly-example/manifest.json index 121dc9db..4a9db720 100644 --- a/__snapshots__/app/assembly-cdk-pipeline-cloud-assembly-example/manifest.json +++ b/__snapshots__/app/assembly-cdk-pipeline-cloud-assembly-example/manifest.json @@ -15,6 +15,7 @@ "templateFile": "cdkpipelinecloudassemblyexample34A10B9D.template.json", "terminationProtection": false, "validateOnSynth": true, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/snapshot-value.json", diff --git a/__snapshots__/app/manifest.json b/__snapshots__/app/manifest.json index 1a288895..2aa8612a 100644 --- a/__snapshots__/app/manifest.json +++ b/__snapshots__/app/manifest.json @@ -34,6 +34,7 @@ "StackName": "build-artifacts" }, "validateOnSynth": false, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::112233445566:role/cdk-hnb659fds-deploy-role-112233445566-eu-west-1", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::112233445566:role/cdk-hnb659fds-cfn-exec-role-112233445566-eu-west-1", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-112233445566-eu-west-1/snapshot-value.json", @@ -208,6 +209,7 @@ "StackName": "ssm-parameter-reader" }, "validateOnSynth": false, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::112233445566:role/cdk-hnb659fds-deploy-role-112233445566-eu-west-1", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::112233445566:role/cdk-hnb659fds-cfn-exec-role-112233445566-eu-west-1", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-112233445566-eu-west-1/snapshot-value.json", @@ -320,6 +322,7 @@ "StackName": "cdk-pipeline-cdk-source" }, "validateOnSynth": false, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/snapshot-value.json", @@ -566,6 +569,7 @@ "StackName": "cdk-pipeline-cloud-assembly" }, "validateOnSynth": false, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/snapshot-value.json", @@ -794,6 +798,7 @@ "StackName": "webapp" }, "validateOnSynth": false, + "notificationArns": [], "assumeRoleArn": "arn:${AWS::Partition}:iam::112233445566:role/cdk-hnb659fds-deploy-role-112233445566-eu-west-1", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::112233445566:role/cdk-hnb659fds-cfn-exec-role-112233445566-eu-west-1", "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-112233445566-eu-west-1/snapshot-value.json", diff --git a/src/__tests__/__snapshots__/hosted-zone-with-param.test.ts.snap b/src/__tests__/__snapshots__/hosted-zone-with-param.test.ts.snap index c1b4f237..d4e500f8 100644 --- a/src/__tests__/__snapshots__/hosted-zone-with-param.test.ts.snap +++ b/src/__tests__/__snapshots__/hosted-zone-with-param.test.ts.snap @@ -65,7 +65,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-us-east-1", }, - "S3Key": "97f30e67419a1676a2215492723e5add1aa491caf0cbe2dd878fc4fab0468cd4.zip", + "S3Key": "1b76a89c99861d4099552c5b48e16daafabc13fd66f42ccdcef246972442caf6.zip", }, "Handler": "index.handler", "Role": Object { diff --git a/src/__tests__/__snapshots__/ssm-parameter-backed-resource.test.ts.snap b/src/__tests__/__snapshots__/ssm-parameter-backed-resource.test.ts.snap index 5935b15d..399aabf9 100644 --- a/src/__tests__/__snapshots__/ssm-parameter-backed-resource.test.ts.snap +++ b/src/__tests__/__snapshots__/ssm-parameter-backed-resource.test.ts.snap @@ -12,7 +12,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-eu-west-1", }, - "S3Key": "97f30e67419a1676a2215492723e5add1aa491caf0cbe2dd878fc4fab0468cd4.zip", + "S3Key": "1b76a89c99861d4099552c5b48e16daafabc13fd66f42ccdcef246972442caf6.zip", }, "Handler": "index.handler", "Role": Object { @@ -161,7 +161,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-eu-west-1", }, - "S3Key": "97f30e67419a1676a2215492723e5add1aa491caf0cbe2dd878fc4fab0468cd4.zip", + "S3Key": "1b76a89c99861d4099552c5b48e16daafabc13fd66f42ccdcef246972442caf6.zip", }, "Handler": "index.handler", "Role": Object { diff --git a/src/__tests__/__snapshots__/ssm-parameter-reader.test.ts.snap b/src/__tests__/__snapshots__/ssm-parameter-reader.test.ts.snap index 57b43860..64a2a4ae 100644 --- a/src/__tests__/__snapshots__/ssm-parameter-reader.test.ts.snap +++ b/src/__tests__/__snapshots__/ssm-parameter-reader.test.ts.snap @@ -136,7 +136,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, - "S3Key": "97f30e67419a1676a2215492723e5add1aa491caf0cbe2dd878fc4fab0468cd4.zip", + "S3Key": "1b76a89c99861d4099552c5b48e16daafabc13fd66f42ccdcef246972442caf6.zip", }, "Handler": "index.handler", "Role": Object { diff --git a/src/__tests__/__snapshots__/webapp-deploy-via-role.test.ts.snap b/src/__tests__/__snapshots__/webapp-deploy-via-role.test.ts.snap index 2e7ec3e9..8ee178c7 100644 --- a/src/__tests__/__snapshots__/webapp-deploy-via-role.test.ts.snap +++ b/src/__tests__/__snapshots__/webapp-deploy-via-role.test.ts.snap @@ -160,7 +160,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, - "S3Key": "d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b.zip", + "S3Key": "4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e.zip", }, "Description": "AWS CDK resource provider framework - onEvent (Stack1/WebappDeploy/Resource/Provider)", "Environment": Object { diff --git a/src/cloudtrail-slack-integration/__tests__/__snapshots__/cloudtrail-slack-integration.test.ts.snap b/src/cloudtrail-slack-integration/__tests__/__snapshots__/cloudtrail-slack-integration.test.ts.snap index bd2a9bbe..02a26e3f 100644 --- a/src/cloudtrail-slack-integration/__tests__/__snapshots__/cloudtrail-slack-integration.test.ts.snap +++ b/src/cloudtrail-slack-integration/__tests__/__snapshots__/cloudtrail-slack-integration.test.ts.snap @@ -497,7 +497,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-us-east-1", }, - "S3Key": "4e26bf2d0a26f2097fb2b261f22bb51e3f6b4b52635777b1e54edbd8e2d58c35.zip", + "S3Key": "2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d.zip", }, "Handler": "index.handler", "Role": Object { @@ -1218,7 +1218,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-us-east-1", }, - "S3Key": "4e26bf2d0a26f2097fb2b261f22bb51e3f6b4b52635777b1e54edbd8e2d58c35.zip", + "S3Key": "2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d.zip", }, "Handler": "index.handler", "Role": Object { @@ -2005,7 +2005,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-us-east-1", }, - "S3Key": "4e26bf2d0a26f2097fb2b261f22bb51e3f6b4b52635777b1e54edbd8e2d58c35.zip", + "S3Key": "2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d.zip", }, "Handler": "index.handler", "Role": Object { diff --git a/src/ecs/__tests__/__snapshots__/cluster.test.ts.snap b/src/ecs/__tests__/__snapshots__/cluster.test.ts.snap index f6d67337..a5a3f1fb 100644 --- a/src/ecs/__tests__/__snapshots__/cluster.test.ts.snap +++ b/src/ecs/__tests__/__snapshots__/cluster.test.ts.snap @@ -136,7 +136,7 @@ Object { "S3Bucket": Object { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, - "S3Key": "97f30e67419a1676a2215492723e5add1aa491caf0cbe2dd878fc4fab0468cd4.zip", + "S3Key": "1b76a89c99861d4099552c5b48e16daafabc13fd66f42ccdcef246972442caf6.zip", }, "Handler": "index.handler", "Role": Object {