diff --git a/lambda/go.mod b/lambda/go.mod index af93fb4d..c824229d 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -3,8 +3,8 @@ module github.com/markussiebert/cdk-sops-secrets go 1.19 require ( - github.com/aws/aws-lambda-go v1.37.0 - github.com/aws/aws-sdk-go v1.44.201 + github.com/aws/aws-lambda-go v1.38.0 + github.com/aws/aws-sdk-go v1.44.224 github.com/gkampitakis/go-snaps v0.4.2 github.com/go-test/deep v1.1.0 go.mozilla.org/sops/v3 v3.7.3 diff --git a/lambda/go.sum b/lambda/go.sum index 64ae3a24..6d861bc0 100644 --- a/lambda/go.sum +++ b/lambda/go.sum @@ -97,10 +97,10 @@ 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.37.0 h1:WXkQ/xhIcXZZ2P5ZBEw+bbAKeCEcb5NtiYpSwVVzIXg= -github.com/aws/aws-lambda-go v1.37.0/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= -github.com/aws/aws-sdk-go v1.44.201 h1:gKtyFyiVGh/uTW7sCQaoyU6XCUsnI8+WWKmbEaABCfw= -github.com/aws/aws-sdk-go v1.44.201/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-lambda-go v1.38.0 h1:4CUdxGzvuQp0o8Zh7KtupB9XvCiiY8yKqJtzco+gsDw= +github.com/aws/aws-lambda-go v1.38.0/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= +github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ= +github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= diff --git a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json index d370d6ab..ec301437 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": { - "69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c": { + "bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc": { "source": { - "path": "asset.69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c.zip", + "path": "asset.bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c.zip", + "objectKey": "bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "9e471824ae6274b2fc2e4db75dd6812250785582ef4d939a465d18282ecbd6fe": { + "6e6e1884629ae43b4dc040862eb2ac0a3e72b7501a494609eab3273477d1f332": { "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": "9e471824ae6274b2fc2e4db75dd6812250785582ef4d939a465d18282ecbd6fe.json", + "objectKey": "6e6e1884629ae43b4dc040862eb2ac0a3e72b7501a494609eab3273477d1f332.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 a7d20c6e..8f80217d 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": "69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c.zip" + "S3Key": "bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc.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 bde6808e..60ca28dd 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": { - "69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c": { + "bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc": { "source": { - "path": "asset.69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c.zip", + "path": "asset.bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c.zip", + "objectKey": "bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "9e471824ae6274b2fc2e4db75dd6812250785582ef4d939a465d18282ecbd6fe": { + "6e6e1884629ae43b4dc040862eb2ac0a3e72b7501a494609eab3273477d1f332": { "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": "9e471824ae6274b2fc2e4db75dd6812250785582ef4d939a465d18282ecbd6fe.json", + "objectKey": "6e6e1884629ae43b4dc040862eb2ac0a3e72b7501a494609eab3273477d1f332.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 a7d20c6e..8f80217d 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": "69df226d93b415c04020b9a085ec03f8da1497fce6253d8b2579e3c03f5bf84c.zip" + "S3Key": "bfa190dadbb895ff53364df34d7b6a3534d813081afa8607eebf26a513566fcc.zip" }, "Role": { "Fn::GetAtt": [