In a Nested Stack setup -
Question: If my Nested Stack 1 is successfully created, but Nested Stack 2 encounters an issue, both the stacks are rolled back. Is there a way only the failed stack is rolled back?
Sadly there is not. Parent stack + nested stacks are considered as a one entity . If anything fails, everything is rolled back.
If you want to have them be separate, then do not nest your stacks. Instead extract nested resources to their own stacks and export their outputs , so that other stacks can import them. Alternatively, pass the outputs as inputs to the other stacks.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.