Getting this error when deploying nested stacks in CDK: UPDATE_ROLLBACK_COMPLETE: Template format error: At least one Resources member must be defined.

0

I am deploying a CDK stack which comprises of 1 nested stack. Whenever I add the nested stack, I get the error. I remove the nested stack the error goes away. Strange thing is same stack works in a different account including the nested stack.

  • Hi, you should update your question with your (anonymized) code to get efficient support from the re:Post community.

1 Answer
2
Accepted Answer

Hi,

This usually comes from syntax error in your CFN template. Can you update the question with the code (anonymized of course!) ?

In case you cannot post your CFN template, please, read this artcile: https://medium.com/@sumbul.first/cloud-formation-nested-stacks-c3ad82da727a

It provides an example of such nested stacks in CFN with full code.

Best,

Didier

profile pictureAWS
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
  • Thanks for the response...I was able to resolve it with some changes in the nested stack code.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions