cdk-dnscontrol-cli Documentation
Overview
cdk-dnscontrol-cli
is a CLI tool that allows you to synth, diff, and deploy DNS configurations written with CDK.
Installation
Build with Go:
Subcommands
diff
Shows the difference between the DNS configuration generated by CDK synth and the current DNS state.
--cdk-entry-point
,-i
: CDK entry point (default:./bin/index.ts
)--credentials-json
,-c
: Credentials file (default:./creds.json
)
deploy
Applies the DNS configuration generated by CDK synth.
--cdk-entry-point
,-i
: CDK entry point (default:./bin/index.ts
)--credentials-json
,-c
: Credentials file (default:./creds.json
)
migration
Helps migrate from an existing dnsconfig.js
to CDK stacks.
--dnsconfig
,-d
: dnsconfig.js file (default:./dnsconfig.js
)--outputDir
,-o
: Output directory (default:./lib/stacks
)
Examples
Notes
- Requires Node.js, tsx, npx, and other dependencies.
creds.json
should contain your DNS provider credentials.