Skip to content
Discussion options

You must be logged in to vote

The process that the CDK goes through doesn't allow you to do this.

A cdk synth may be done moments, hours, or even months before a deployment is prepared and launched. Like CloudFormation, there should be as little logic pre-deployment as possible.

If you require deploy-time access to resources, the Custom Resources model is probably what you're looking for.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by indrora
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants