diff --git a/lambda/go.mod b/lambda/go.mod index ced97c9c..91edcc31 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -4,7 +4,7 @@ go 1.21.4 require ( github.com/aws/aws-lambda-go v1.41.0 - github.com/aws/aws-sdk-go v1.47.13 + github.com/aws/aws-sdk-go v1.48.0 github.com/getsops/sops/v3 v3.8.1 github.com/gkampitakis/go-snaps v0.4.12 github.com/go-test/deep v1.1.0 diff --git a/lambda/go.sum b/lambda/go.sum index 1f76689f..83a8e3f5 100644 --- a/lambda/go.sum +++ b/lambda/go.sum @@ -36,8 +36,8 @@ github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c/go.mod h1:EjA github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aws/aws-lambda-go v1.41.0 h1:l/5fyVb6Ud9uYd411xdHZzSf2n86TakxzpvIoz7l+3Y= github.com/aws/aws-lambda-go v1.41.0/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= -github.com/aws/aws-sdk-go v1.47.13 h1:pJgCtldg5azDAFoEcE0fz6n+FnCc1/FY4krtUa5uvZQ= -github.com/aws/aws-sdk-go v1.47.13/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.48.0 h1:1SeJ8agckRDQvnSCt1dGZYAwUaoD2Ixj6IaXB4LCv8Q= +github.com/aws/aws-sdk-go v1.48.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v1.21.1 h1:wjHYshtPpYOZm+/mu3NhVgRRc0baM6LJZOmxPZ5Cwzs= github.com/aws/aws-sdk-go-v2 v1.21.1/go.mod h1:ErQhvNuEMhJjweavOYhxVkn2RUx7kQXVATHrjKtxIpM= github.com/aws/aws-sdk-go-v2/config v1.18.44 h1:U10NQ3OxiY0dGGozmVIENIDnCT0W432PWxk2VO8wGnY= diff --git a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json index 067d8e3c..f2e64541 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": { - "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3": { + "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8": { "source": { - "path": "asset.83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip", + "path": "asset.5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip", + "objectKey": "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "15165ed0692cff3361803cc54c82a266578b5d75b619a78ee76c5cf4189faf3f": { + "a83ae6717c56359f61df1c1e2b75120dd869eeb706c539ac7af1b2f36973c961": { "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": "15165ed0692cff3361803cc54c82a266578b5d75b619a78ee76c5cf4189faf3f.json", + "objectKey": "a83ae6717c56359f61df1c1e2b75120dd869eeb706c539ac7af1b2f36973c961.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 7d8bebc0..41855e35 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": "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip" + "S3Key": "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.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 125c4a67..b5636afe 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": { - "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3": { + "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8": { "source": { - "path": "asset.83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip", + "path": "asset.5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip", + "objectKey": "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "15165ed0692cff3361803cc54c82a266578b5d75b619a78ee76c5cf4189faf3f": { + "a83ae6717c56359f61df1c1e2b75120dd869eeb706c539ac7af1b2f36973c961": { "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": "15165ed0692cff3361803cc54c82a266578b5d75b619a78ee76c5cf4189faf3f.json", + "objectKey": "a83ae6717c56359f61df1c1e2b75120dd869eeb706c539ac7af1b2f36973c961.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 7d8bebc0..41855e35 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": "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip" + "S3Key": "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/test/secret-multikms.integ.snapshot/SecretIntegrationInline.assets.json b/test/secret-multikms.integ.snapshot/SecretIntegrationInline.assets.json index afbe0a94..5e1b478c 100644 --- a/test/secret-multikms.integ.snapshot/SecretIntegrationInline.assets.json +++ b/test/secret-multikms.integ.snapshot/SecretIntegrationInline.assets.json @@ -1,20 +1,20 @@ { "version": "15.0.0", "files": { - "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3": { + "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8": { "source": { - "path": "asset.83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip", + "path": "asset.5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip", + "objectKey": "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "3f96af5d8b5fd9fe14feef20f8006cbadddbfb337ea747cd48bf1890a673f367": { + "09f6141c19b292cfe1f924997bff513db9487ee848f22a025365ef00f7c8e70f": { "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": "3f96af5d8b5fd9fe14feef20f8006cbadddbfb337ea747cd48bf1890a673f367.json", + "objectKey": "09f6141c19b292cfe1f924997bff513db9487ee848f22a025365ef00f7c8e70f.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/secret-multikms.integ.snapshot/SecretIntegrationInline.template.json b/test/secret-multikms.integ.snapshot/SecretIntegrationInline.template.json index 975653bf..3f76adb8 100644 --- a/test/secret-multikms.integ.snapshot/SecretIntegrationInline.template.json +++ b/test/secret-multikms.integ.snapshot/SecretIntegrationInline.template.json @@ -116,7 +116,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "83f4b721ef5bd11e6058cb9cb582f7a02da7a8eba7197d8d57733b1faa103ee3.zip" + "S3Key": "5035fb77e1eecd8b737157ae13195b9a7ef847e1bd4b51912b8aafd7f54517c8.zip" }, "Role": { "Fn::GetAtt": [