diff --git a/lambda/go.mod b/lambda/go.mod index 35f6dc1d..a333a6fb 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/aws/aws-lambda-go v1.41.0 github.com/aws/aws-sdk-go v1.44.280 - github.com/gkampitakis/go-snaps v0.4.5 + github.com/gkampitakis/go-snaps v0.4.6 github.com/go-test/deep v1.1.0 go.mozilla.org/sops/v3 v3.7.3 gopkg.in/yaml.v3 v3.0.1 diff --git a/lambda/go.sum b/lambda/go.sum index cc23d0ee..f5e63108 100644 --- a/lambda/go.sum +++ b/lambda/go.sum @@ -160,8 +160,8 @@ github.com/gkampitakis/ciinfo v0.2.4 h1:Ip1hf4K7ISRuVlDrheuhaeffg1VOhlyeFGaQ/vTx github.com/gkampitakis/ciinfo v0.2.4/go.mod h1:1NIwaOcFChN4fa/B0hEBdAb6npDlFL8Bwx4dfRLRqAo= github.com/gkampitakis/go-diff v1.3.2 h1:Qyn0J9XJSDTgnsgHRdz9Zp24RaJeKMUHg2+PDZZdC4M= github.com/gkampitakis/go-diff v1.3.2/go.mod h1:LLgOrpqleQe26cte8s36HTWcTmMEur6OPYerdAAS9tk= -github.com/gkampitakis/go-snaps v0.4.5 h1:balDeoor0XSLhhFtqBHajVgU8AF6eKOFmIoNhH1NqsQ= -github.com/gkampitakis/go-snaps v0.4.5/go.mod h1:oEL8WdkP4EpHdMA3wrNRjfRiV9wV3OhU/JpX9l4joA0= +github.com/gkampitakis/go-snaps v0.4.6 h1:qk8TP+TuzaTkA4nr81it9hnYTi4aFR+ndU3cVdtmhnY= +github.com/gkampitakis/go-snaps v0.4.6/go.mod h1:oEL8WdkP4EpHdMA3wrNRjfRiV9wV3OhU/JpX9l4joA0= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= diff --git a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json index 73b8460a..2d694435 100644 --- a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json +++ b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json @@ -1,20 +1,20 @@ { "version": "15.0.0", "files": { - "2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004": { + "27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6": { "source": { - "path": "asset.2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004.zip", + "path": "asset.27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004.zip", + "objectKey": "27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "81902b931cb0412052231822f8be9187fa56f1e69ed9155bfefe16e55576de4a": { + "9abb01dc7916dd404d763d3b381897786e3df2a1107727ea613bc3d05ae0b2e9": { "source": { "path": "SecretIntegrationAsset.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "81902b931cb0412052231822f8be9187fa56f1e69ed9155bfefe16e55576de4a.json", + "objectKey": "9abb01dc7916dd404d763d3b381897786e3df2a1107727ea613bc3d05ae0b2e9.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.template.json b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.template.json index 74130f82..528ac2b4 100644 --- a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.template.json +++ b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.template.json @@ -176,7 +176,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004.zip" + "S3Key": "27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json b/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json index 6e8779ea..b995f582 100644 --- a/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json +++ b/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json @@ -1,20 +1,20 @@ { "version": "15.0.0", "files": { - "2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004": { + "27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6": { "source": { - "path": "asset.2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004.zip", + "path": "asset.27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004.zip", + "objectKey": "27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "81902b931cb0412052231822f8be9187fa56f1e69ed9155bfefe16e55576de4a": { + "9abb01dc7916dd404d763d3b381897786e3df2a1107727ea613bc3d05ae0b2e9": { "source": { "path": "SecretIntegrationInline.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "81902b931cb0412052231822f8be9187fa56f1e69ed9155bfefe16e55576de4a.json", + "objectKey": "9abb01dc7916dd404d763d3b381897786e3df2a1107727ea613bc3d05ae0b2e9.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/secret-inline.integ.snapshot/SecretIntegrationInline.template.json b/test/secret-inline.integ.snapshot/SecretIntegrationInline.template.json index 74130f82..528ac2b4 100644 --- a/test/secret-inline.integ.snapshot/SecretIntegrationInline.template.json +++ b/test/secret-inline.integ.snapshot/SecretIntegrationInline.template.json @@ -176,7 +176,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "2f7c2d067dcb19f85b23bac52ab3615283922b543896cfefd7683a9a70755004.zip" + "S3Key": "27d01cea8f3086e443d05bec00cfda7895ffa8d55c0605d943a0237ecfa565c6.zip" }, "Role": { "Fn::GetAtt": [