what is the most graceful way of handling when you need to generate a script that depends on CDK values/arns?
I have the following scenario:
- All constructs are in the same stack
- Script A depends on Construct A in CDK Stack to deploy Website A
- Website A must be built before Constructs BCD can be deployed
- Website A depends on Script A
Am I forced to split out the stack into stack A and B even though I only need one construct to be stood up to create the script?
Is there any automated way of doing this? Or do I need to stand up stack A, run the config gen script manually, then build the website, then stand up stack B