diff --git a/lambda/go.mod b/lambda/go.mod index 11c3813b..e66c5da3 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -4,7 +4,7 @@ go 1.22.0 require ( github.com/aws/aws-lambda-go v1.46.0 - github.com/aws/aws-sdk-go v1.50.26 + github.com/aws/aws-sdk-go v1.50.27 github.com/getsops/sops/v3 v3.8.1 github.com/gkampitakis/go-snaps v0.5.2 github.com/go-test/deep v1.1.0 diff --git a/lambda/go.sum b/lambda/go.sum index 522b3d97..1873ed5f 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.46.0 h1:UWVnvh2h2gecOlFhHQfIPQcD8pL/f7pVCutmFl+oXU8= github.com/aws/aws-lambda-go v1.46.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= -github.com/aws/aws-sdk-go v1.50.26 h1:tuv8+dje59DBK1Pj65tSCdD36oamBxKYJgbng4bFylc= -github.com/aws/aws-sdk-go v1.50.26/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.50.27 h1:96ifhrSuja+AzdP3W/T2337igqVQ2FcSIJYkk+0rCeA= +github.com/aws/aws-sdk-go v1.50.27/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 740c07ad..f6c336e1 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": { - "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f": { + "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb": { "source": { - "path": "asset.05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip", + "path": "asset.d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip", + "objectKey": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "9e8321e7dfdf3ffcb41213957102e2fcf4a926eaa03084ed74385a3a3aa9d08f": { + "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838": { "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": "9e8321e7dfdf3ffcb41213957102e2fcf4a926eaa03084ed74385a3a3aa9d08f.json", + "objectKey": "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838.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 b6598587..0f9b5c3a 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": "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip" + "S3Key": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.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 e1f868a7..0ce29e2a 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": { - "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f": { + "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb": { "source": { - "path": "asset.05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip", + "path": "asset.d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip", + "objectKey": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "9e8321e7dfdf3ffcb41213957102e2fcf4a926eaa03084ed74385a3a3aa9d08f": { + "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838": { "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": "9e8321e7dfdf3ffcb41213957102e2fcf4a926eaa03084ed74385a3a3aa9d08f.json", + "objectKey": "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838.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 b6598587..0f9b5c3a 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": "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip" + "S3Key": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json b/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json index 4a5117bd..92241bb2 100644 --- a/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json +++ b/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json @@ -1,20 +1,20 @@ { "version": "15.0.0", "files": { - "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f": { + "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb": { "source": { - "path": "asset.05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip", + "path": "asset.d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip", + "objectKey": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "c3a4325fc0638ffdd5572ef223a9ab1d4e7f52671321601ce13929850e670669": { + "5edbcec8293aac8fdaa26d93bbd4cad466d0dc7a6891ec75b008b48bd525e80a": { "source": { "path": "SecretMultiKms.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "c3a4325fc0638ffdd5572ef223a9ab1d4e7f52671321601ce13929850e670669.json", + "objectKey": "5edbcec8293aac8fdaa26d93bbd4cad466d0dc7a6891ec75b008b48bd525e80a.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/SecretMultiKms.template.json b/test/secret-multikms.integ.snapshot/SecretMultiKms.template.json index 7e8816cf..0a03bcf2 100644 --- a/test/secret-multikms.integ.snapshot/SecretMultiKms.template.json +++ b/test/secret-multikms.integ.snapshot/SecretMultiKms.template.json @@ -116,7 +116,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "05cca4b1098b5a3d0c6ba244fd8a22ea681e40a0269919e6c6a028c98fb86f6f.zip" + "S3Key": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip" }, "Role": { "Fn::GetAtt": [