This project is following the Medium post about how to manage your DNS via CDK pipelines
- Make sure to have all accounts bootstrapped with your latest CDK version (this project is using the CDK v2)
- when bootstrapping make sure to add the
--trust <pipeline-account-id>
parameter and trust the pipeline account to deploy CFN stacks into the application account
- when bootstrapping make sure to add the
- Make sure to replace the
connection
-string and the git repo in thelib/pipeline/pipeline.ts
- Make sure to replace the account-ids in
lib/constants/accounts.ts
- Make sure to have credentials to your pipeline account in your current terminal session
- run
cdk diff
and verify successfull synthesis and check the output - run
cdk deploy
- add all your changes, and push to your git repo