Nested stacks must be defined within scope of another non-nested stack error when using cfn.NestedStack #5686
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Nested stacks must be defined within scope of another non-nested stack error when using cfn.NestedStack
Reproduction Steps
The example given in the documentation does not work
Copy and paste example https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-cloudformation
btw this does not compile without modification
must be changed to
otherwise this does not compile
Error Log
Nested stacks must be defined within scope of another non-nested stack when running cdk synth
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: