Files
acdl/modules/l1/rds/instance.json
T
Jon Chery a9d8b31595 feat(P27): RDS primitive + adapter expansion (D-059)
Add modules/l1/rds/ with interface.json (engine enum for postgres, mysql,
mariadb, sqlserver, oracle), instance.json, README.md (full template with
compliance extension points). Register in registry.json. Expand the
adapter TYPE_MAP/INPUT_MAP/OUTPUT_MAP for aws:rds:instance -> aws_db_instance;
emit backup_retention_period, deletion_protection, storage_encrypted, and
skip_final_snapshot from NFRs/inputs. Add RDS to the primitives-plan matrix.
Update tests for the new registry entry count (12) + RDS adapter emission.

---ci---
project: acdl
phase: 27
milestone: v1.7
status: execute
---/ci---
2026-07-22 20:21:45 +00:00

34 lines
819 B
JSON

{
"version": "1.0.0",
"stack": {
"name": "rds",
"kind": "l1",
"depth": 1
},
"resources": [
{
"id": "rds",
"type": "aws:rds:instance",
"module": "rds@1.0.0",
"inputs": {
"engine": "postgres",
"engine_version": "16.4",
"instance_class": "db.t3.micro",
"allocated_storage": 20,
"db_name": "acdl_db",
"username": "acdl_admin",
"multi_az": false,
"storage_encrypted": true,
"region": "us-east-1"
},
"outputs": {
"db_endpoint": {"type": "string", "description": "The RDS instance endpoint."},
"db_arn": {"type": "arn", "description": "The RDS instance ARN."}
},
"nfrs": {
"backup_retention_period": 7,
"deletion_protection": true
}
}
]
}