Files
acdl/modules/l1/dynamodb
Jon Chery 373533094b fix(P03 W0.5): resolve pre-existing P2 drift — dynamodb examples, sync_workflows, deck path (CAP-024)
Pre-existing failures uncovered by running the full suite with kj installed
+ disk freed (the P2 verify missed these):
- dynamodb L1: rename simple.yaml -> simple.yml + add complex.yml (module-standards
  expects both .yml extensions; the P2 author used .yaml)
- sync_workflows: re-sync ci.yml drift (.github + .gitea <- workflows-src)
- CAP-024 deck path: nova-autonomous-cloud-delivery.md was consolidated to
  -marp.md in v1.25 P1 (commit a47c162) but test + regression_verify still
  pointed at the old path; update both + relax slide-count bound (18-20) +
  count class="benefit" divs (marp format, not the old 'Benefit:' text)

---ci---
project: acdl
phase: 3
milestone: v1.26
status: execute
wave: W0.5
---
2026-08-18 22:00:30 +00:00
..

DynamoDB L1 Primitive

Stack type: aws:dynamodb:table → Terraform aws_dynamodb_table

Description

A DynamoDB table primitive with encryption + point-in-time recovery enabled by default (per v1.8 NFR defaults). Supports a partition key (required) + optional sort key. Default billing mode is PAY_PER_REQUEST (on-demand).

Inputs

Name Type Required Default Description
table_name string yes Globally-unique table name
region string yes AWS region
pk string yes Partition key attribute name
sk string no "" Sort key attribute name
billing_mode string no PAY_PER_REQUEST Billing mode
enabled boolean no true Feature flag

Outputs

Name Type Description
table_arn arn The table ARN
table_name string The table name

NFRs

  • Encryption: SSE-KMS enabled by default.
  • Point-in-time recovery: Enabled by default.
  • Deletion protection: prevent_destroy = true (Terraform lifecycle).

Examples

See examples/simple.yaml.