a9d8b31595
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---
28 lines
942 B
YAML
28 lines
942 B
YAML
# ACDL Primitives Plan Pipeline — GitHub Actions (production)
|
|
#
|
|
# Runs on PRs to main. For each L1 primitive, runs a plan-only (offline
|
|
# --check-only mode: resolves the primitive's instance.json, runs the adapter,
|
|
# validates the emitted Terraform structure).
|
|
name: acdl-primitives-plan
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
primitive-plan:
|
|
name: Primitive plan (${{ matrix.primitive }})
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
primitive: [s3, vpc, ecs-cluster, ecs-service, iam-role, alb, ecr, cloudfront, waf, rds]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
- name: Install dependencies
|
|
run: pip install jsonschema pyyaml boto3
|
|
- name: Primitive plan check (${{ matrix.primitive }})
|
|
run: bash scripts/run_primitive_plan.sh --check-only ${{ matrix.primitive }} |