@exabugs/dynamodb-client 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.7.4] - 2025-12-28
11
+
12
+ ### Fixed
13
+
14
+ - **Lambda KMS Encryption**: Disabled KMS encryption for Lambda function to resolve persistent KMSAccessDeniedException (ADR-004)
15
+ - **Lambda Startup**: Fixed Lambda function startup failure by explicitly setting `kms_key_arn = ""`
16
+ - **502 Bad Gateway**: Resolved Function URL errors caused by Lambda execution environment KMS issues
17
+
18
+ ### Changed
19
+
20
+ - **Security Model**: Moved from KMS-encrypted Lambda environment to unencrypted for compatibility
21
+ - **ADR-003 Deprecated**: Replaced complex KMS permission approach with simpler encryption disable approach
22
+
23
+ ### Technical
24
+
25
+ - **Terraform**: Added `kms_key_arn = ""` to Lambda function configuration
26
+ - **Architecture Decision**: Created ADR-004 to document KMS encryption disable decision
27
+
10
28
  ## [0.7.3] - 2025-12-28
11
29
 
12
30
  ### Fixed
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v0.7.3
2
- // Built: 2025-12-28T10:27:40.943Z
1
+ // @exabugs/dynamodb-client v0.7.4
2
+ // Built: 2025-12-28T10:39:29.906Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exabugs/dynamodb-client",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "DynamoDB Single-Table Client SDK with MongoDB-like API, Shadow Records, and Lambda implementation for serverless applications",
5
5
  "author": "exabugs",
6
6
  "license": "MIT",
package/terraform/main.tf CHANGED
@@ -151,6 +151,10 @@ resource "aws_lambda_function" "records" {
151
151
  timeout = 30
152
152
  memory_size = 512
153
153
 
154
+ # KMS暗号化を明示的に無効化(ADR-004)
155
+ # AWS管理のデフォルトKMSキーアクセス権限の問題を回避
156
+ kms_key_arn = ""
157
+
154
158
  # 環境変数
155
159
  environment {
156
160
  variables = {