diff --git a/lambda/go.mod b/lambda/go.mod index f1469997..cdca75dd 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -3,7 +3,7 @@ module github.com/markussiebert/cdk-sops-secrets go 1.19 require ( - github.com/aws/aws-lambda-go v1.39.1 + github.com/aws/aws-lambda-go v1.40.0 github.com/aws/aws-sdk-go v1.44.242 github.com/gkampitakis/go-snaps v0.4.2 github.com/go-test/deep v1.1.0 diff --git a/lambda/go.sum b/lambda/go.sum index 74eb5350..091d8ea4 100644 --- a/lambda/go.sum +++ b/lambda/go.sum @@ -97,8 +97,8 @@ github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/aws/aws-lambda-go v1.39.1 h1:UcuX9O3JqhQyP/rxPJEpTUUSehzqkNpwKKRFa9N+ozk= -github.com/aws/aws-lambda-go v1.39.1/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= +github.com/aws/aws-lambda-go v1.40.0 h1:6dKcDpXsTpapfCFF6Debng6CiV/Z3sNHekM6bwhI2J0= +github.com/aws/aws-lambda-go v1.40.0/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= github.com/aws/aws-sdk-go v1.44.242 h1:bb6Rqd7dxh1gTUoVXLJTNC2c+zNaHpLRlNKk0kGN3fc= github.com/aws/aws-sdk-go v1.44.242/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= diff --git a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json index ebacc82e..7f0e74c8 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": { - "f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1": { + "634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f": { "source": { - "path": "asset.f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1.zip", + "path": "asset.634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1.zip", + "objectKey": "634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "11912fdba1505a96cd63c3d573d7278d80a1fdfc93401d698f930296575b5408": { + "c272f2c64c8ab76292db353d9afd712ec1daef82712efcd3a7ba0eba1bea22cc": { "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": "11912fdba1505a96cd63c3d573d7278d80a1fdfc93401d698f930296575b5408.json", + "objectKey": "c272f2c64c8ab76292db353d9afd712ec1daef82712efcd3a7ba0eba1bea22cc.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 eb344432..eef6e7aa 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": "f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1.zip" + "S3Key": "634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f.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 955b5f58..465f8c04 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": { - "f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1": { + "634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f": { "source": { - "path": "asset.f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1.zip", + "path": "asset.634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1.zip", + "objectKey": "634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "11912fdba1505a96cd63c3d573d7278d80a1fdfc93401d698f930296575b5408": { + "c272f2c64c8ab76292db353d9afd712ec1daef82712efcd3a7ba0eba1bea22cc": { "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": "11912fdba1505a96cd63c3d573d7278d80a1fdfc93401d698f930296575b5408.json", + "objectKey": "c272f2c64c8ab76292db353d9afd712ec1daef82712efcd3a7ba0eba1bea22cc.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 eb344432..eef6e7aa 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": "f2f4809ffa9443a9b0674283746834f87af743e7f4e389a28ed2a65712b14ec1.zip" + "S3Key": "634bdded4f76d93bdf22efae800d8a6f9e26a1a7491c62cedadce7f0f940b16f.zip" }, "Role": { "Fn::GetAtt": [