diff --git a/lambda/go.mod b/lambda/go.mod index 417eaaf9..c2107397 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -5,7 +5,7 @@ go 1.23 require ( github.com/aws/aws-lambda-go v1.47.0 github.com/aws/aws-sdk-go v1.55.6 - github.com/aws/aws-sdk-go-v2 v1.34.0 + github.com/aws/aws-sdk-go-v2 v1.35.0 github.com/getsops/sops/v3 v3.9.2 github.com/gkampitakis/go-snaps v0.5.9 github.com/go-test/deep v1.1.1 diff --git a/lambda/go.sum b/lambda/go.sum index 0f6344d2..acb9151a 100644 --- a/lambda/go.sum +++ b/lambda/go.sum @@ -67,8 +67,8 @@ github.com/aws/aws-lambda-go v1.47.0 h1:0H8s0vumYx/YKs4sE7YM0ktwL2eWse+kfopsRI1s github.com/aws/aws-lambda-go v1.47.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= github.com/aws/aws-sdk-go v1.55.6 h1:cSg4pvZ3m8dgYcgqB97MrcdjUmZ1BeMYKUxMMB89IPk= github.com/aws/aws-sdk-go v1.55.6/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= -github.com/aws/aws-sdk-go-v2 v1.34.0 h1:9iyL+cjifckRGEVpRKZP3eIxVlL06Qk1Tk13vreaVQU= -github.com/aws/aws-sdk-go-v2 v1.34.0/go.mod h1:JgstGg0JjWU1KpVJjD5H0y0yyAIpSdKEq556EI6yOOM= +github.com/aws/aws-sdk-go-v2 v1.35.0 h1:jTPxEJyzjSuuz0wB+302hr8Eu9KUI+Zv8zlujMGJpVI= +github.com/aws/aws-sdk-go-v2 v1.35.0/go.mod h1:JgstGg0JjWU1KpVJjD5H0y0yyAIpSdKEq556EI6yOOM= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7 h1:lL7IfaFzngfx0ZwUGOZdsFFnQ5uLvR0hWqqhyE7Q9M8= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7/go.mod h1:QraP0UcVlQJsmHfioCrveWOC1nbiWUl3ej08h4mXWoc= github.com/aws/aws-sdk-go-v2/config v1.28.6 h1:D89IKtGrs/I3QXOLNTH93NJYtDhm8SYa9Q5CsPShmyo= diff --git a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json index d65692cd..00d924af 100644 --- a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json +++ b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.assets.json @@ -1,15 +1,15 @@ { "version": "36.0.0", "files": { - "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4": { + "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916": { "source": { - "path": "asset.71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "path": "asset.2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "objectKey": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } @@ -79,7 +79,7 @@ } } }, - "be9b36c08762ff449b54230ebeb5b0d09e6a0e7737d3eda30a64be5f835d49ad": { + "fde94fe7eaafe9ccdcfe658c0f88f842ba874aa77dd75568dd4520f2194f4f1c": { "source": { "path": "SecretIntegrationAsset.template.json", "packaging": "file" @@ -87,7 +87,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "be9b36c08762ff449b54230ebeb5b0d09e6a0e7737d3eda30a64be5f835d49ad.json", + "objectKey": "fde94fe7eaafe9ccdcfe658c0f88f842ba874aa77dd75568dd4520f2194f4f1c.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 f459ca54..2c49b276 100644 --- a/test/secret-asset.integ.snapshot/SecretIntegrationAsset.template.json +++ b/test/secret-asset.integ.snapshot/SecretIntegrationAsset.template.json @@ -231,7 +231,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip" + "S3Key": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip" }, "Environment": { "Variables": { diff --git a/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json b/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json index cbef6f0f..44b24162 100644 --- a/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json +++ b/test/secret-inline.integ.snapshot/SecretIntegrationInline.assets.json @@ -1,20 +1,20 @@ { "version": "36.0.0", "files": { - "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4": { + "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916": { "source": { - "path": "asset.71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "path": "asset.2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "objectKey": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "923c03ac17667e1ede779db4e03cde855c2a7e868de1c36506f34013c2c0f0e6": { + "a8ffc37ecb4b022cccc176d40557696a06d7d6a1fc14ff94c8791d7d108200c9": { "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": "923c03ac17667e1ede779db4e03cde855c2a7e868de1c36506f34013c2c0f0e6.json", + "objectKey": "a8ffc37ecb4b022cccc176d40557696a06d7d6a1fc14ff94c8791d7d108200c9.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 a48e5033..f65d4a6f 100644 --- a/test/secret-inline.integ.snapshot/SecretIntegrationInline.template.json +++ b/test/secret-inline.integ.snapshot/SecretIntegrationInline.template.json @@ -198,7 +198,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip" + "S3Key": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip" }, "Environment": { "Variables": { diff --git a/test/secret-manual.integ.snapshot/SecretIntegrationAsset.assets.json b/test/secret-manual.integ.snapshot/SecretIntegrationAsset.assets.json index 8e7b7417..c4cbb6d8 100644 --- a/test/secret-manual.integ.snapshot/SecretIntegrationAsset.assets.json +++ b/test/secret-manual.integ.snapshot/SecretIntegrationAsset.assets.json @@ -1,20 +1,20 @@ { "version": "36.0.0", "files": { - "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4": { + "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916": { "source": { - "path": "asset.71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "path": "asset.2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "objectKey": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "cbd798901289cce0c6e4c46d57c3c5dc432ce41487704d15c6582549466775a6": { + "ba5b41406b8988c7335e1473c82092154c14c1daf8531afd11f5f7a430a2de64": { "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": "cbd798901289cce0c6e4c46d57c3c5dc432ce41487704d15c6582549466775a6.json", + "objectKey": "ba5b41406b8988c7335e1473c82092154c14c1daf8531afd11f5f7a430a2de64.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/test/secret-manual.integ.snapshot/SecretIntegrationAsset.template.json b/test/secret-manual.integ.snapshot/SecretIntegrationAsset.template.json index 21dbd590..f158a4f5 100644 --- a/test/secret-manual.integ.snapshot/SecretIntegrationAsset.template.json +++ b/test/secret-manual.integ.snapshot/SecretIntegrationAsset.template.json @@ -72,7 +72,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip" + "S3Key": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip" }, "Environment": { "Variables": { diff --git a/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json b/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json index d6254030..8df7aee4 100644 --- a/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json +++ b/test/secret-multikms.integ.snapshot/SecretMultiKms.assets.json @@ -1,15 +1,15 @@ { "version": "36.0.0", "files": { - "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4": { + "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916": { "source": { - "path": "asset.71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "path": "asset.2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "packaging": "file" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip", + "objectKey": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } @@ -27,7 +27,7 @@ } } }, - "c7ca4322ec89a67d983576a0211a865f3c27ff3ebbafa5d7c0f83da41603ac4e": { + "ac91dd00fa80bc05a2dad0c113cbbef0ce502c0684a75045d17b3a1c374e1b3a": { "source": { "path": "SecretMultiKms.template.json", "packaging": "file" @@ -35,7 +35,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "c7ca4322ec89a67d983576a0211a865f3c27ff3ebbafa5d7c0f83da41603ac4e.json", + "objectKey": "ac91dd00fa80bc05a2dad0c113cbbef0ce502c0684a75045d17b3a1c374e1b3a.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 7c45193e..0c96e666 100644 --- a/test/secret-multikms.integ.snapshot/SecretMultiKms.template.json +++ b/test/secret-multikms.integ.snapshot/SecretMultiKms.template.json @@ -336,7 +336,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "71584c9f9a2d019cb5df6044c81ca32662370c709381898a7d72f8c7d40a21a4.zip" + "S3Key": "2436e06caa18bb92075f42183f6e7941922fc4c8510f17cf1393f52e4dba5916.zip" }, "Environment": { "Variables": {