diff --git a/lambda/go.mod b/lambda/go.mod index e66c5da3..6bbee8f8 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.27 + github.com/aws/aws-sdk-go v1.50.29 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 1873ed5f..b5ed1ef9 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.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 v1.50.29 h1:Ol2FYzesF2tsQrgVSnDWRFI60+FsSqKKdt7MLlZKubc= +github.com/aws/aws-sdk-go v1.50.29/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 f6c336e1..6cdba674 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": { - "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb": { + "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68": { "source": { - "path": "asset.d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", + "path": "asset.63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", + "objectKey": "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838": { + "8a1597576f2fa08294886dda14b57c995fde00ee342385b12b5efa87e8646d5d": { "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": "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838.json", + "objectKey": "8a1597576f2fa08294886dda14b57c995fde00ee342385b12b5efa87e8646d5d.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 0f9b5c3a..7a665bde 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": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip" + "S3Key": "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.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 0ce29e2a..a7054bc1 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": { - "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb": { + "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68": { "source": { - "path": "asset.d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", + "path": "asset.63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", + "objectKey": "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838": { + "8a1597576f2fa08294886dda14b57c995fde00ee342385b12b5efa87e8646d5d": { "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": "8d72e50291cd30ea509c603f6edf20e5d175c6673fa8d7a117ce89e140bbd838.json", + "objectKey": "8a1597576f2fa08294886dda14b57c995fde00ee342385b12b5efa87e8646d5d.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 0f9b5c3a..7a665bde 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": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip" + "S3Key": "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.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 92241bb2..f9696210 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": { - "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb": { + "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68": { "source": { - "path": "asset.d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", + "path": "asset.63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip", + "objectKey": "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "5edbcec8293aac8fdaa26d93bbd4cad466d0dc7a6891ec75b008b48bd525e80a": { + "5eff533885b0e268336573a4361dbb529c0e4b44bba9d7cb5a1b6217ec4d9159": { "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": "5edbcec8293aac8fdaa26d93bbd4cad466d0dc7a6891ec75b008b48bd525e80a.json", + "objectKey": "5eff533885b0e268336573a4361dbb529c0e4b44bba9d7cb5a1b6217ec4d9159.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 0a03bcf2..fd14c3b0 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": "d35b20507f359b2ec3b378c47cae9e294078e3614a901d9476e9bca0d76b9cbb.zip" + "S3Key": "63c1359381de13d659629b025815b66df2fd0ceeead33717fa57762df1256d68.zip" }, "Role": { "Fn::GetAtt": [