cdk-bootstrap-configuration
Installation
SKILL.md
CDK Bootstrap Configuration
This is a reference pattern. Learn from the approach, adapt to your context — don't copy verbatim.
Audience: CDK infrastructure developers. If you're building services that read configuration, see SSM Runtime Configuration.
Problem: Using CDK's valueFromLookup() for bootstrap configuration causes context caching issues, requiring manual intervention and creating circular dependencies between deployment scripts and infrastructure code.
Solution: Separate bootstrap configuration (deployment inputs) from runtime configuration (infrastructure outputs). Bootstrap flows through environment files into CDK at synth time; runtime outputs flow from infrastructure into SSM Parameter Store for service consumption.