Replies: 1 comment
-
I am facing the same issue. I use nested stacks and the Cloudformation template rendered in the CloudAssembly object appears to be missing resources from the nested stacks. app = App()
stack = MainStack(...)
nested_stack = NestedStack(stack,...)
cloud_assembly = app.synth()
template = cloud_assembly.get_stack_artifact(stack.artifact_id).template Please let me know if you found a solution, thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to run Synth tests.
I'm doing this by running:
app_synth: CloudAssembly = app.synth()
And verifying the resources are as expected..
Problem is, I have a nested stack, which I see within my root stack synth output, but I couldn't figure out how to access resources within the nested stack.
Using CDK version 2.128.0.
Python 3.8.15
Beta Was this translation helpful? Give feedback.
All reactions