AWS Builder Center

What CREATE_FAILED and ROLLBACK_COMPLETE Really Mean

CloudFormation gave me a "null" error, the real issue was buried in a nested stack, and deleting & retrying didn't work — only a brand new environment fixed it.

Background

I was working through the  AWS Step Functions Workshop  when the automatic setup failed. The main stack showed:
sfn-workshop — ROLLBACK_COMPLETE
And the error message was:
This AWS::CloudFormation::Stack resource is in a CREATE_FAILED state.
Embedded stack ...NestedStackResource... was not successfully created: null
It just says "null." So I had to dig for the root cause myself.

Where the real reason is actually hiding

CloudFormation builds things in layers.Think of it like a folder with subfolders. If a subfolder has a problem, the main folder only knows that something inside it is broken — but not what or where.
To find the reason, you have to open the inner (nested) stack itself and check its own history log, not the outer one.
Steps:
  1. Open the main stack, go to its Resources tab, and find the nested stack listed there.
  1. Click into that nested stack.
  1. Look at its own Events tab.
  1. Scroll to the very first failure — later failures are just things falling apart because of that first one, not new problems.
One trap to avoid: AWS also has a separate screen called CloudTrail, which looks similar and shows a list of actions too. But that's not the same thing — it won't show you the real error. Stick to the nested stack's own Events tab.

What "ROLLBACK_COMPLETE" actually means

When something fails while AWS is creating your setup, AWS doesn't leave things half-built. It automatically undoes everything it just created, so you're not left with a mess. Once that cleanup finishes, the stack shows ROLLBACK_COMPLETE.
The important part: once a stack shows ROLLBACK_COMPLETE, you can't just fix and re-run it. You have to fully delete that stack first. Only after it's deleted can you try creating it again from scratch.

What actually caused my failure

When I dug into the nested stack's error log, here's what it said:
"Failed creating service linked role. Rate limit exceeded from IAM..."
In plain terms: AWS itself was too busy handling requests at that moment, and it refused to create one small permission (a "role") it needed. This wasn't something wrong with my setup — it was a temporary traffic jam on AWS's side.

What I tried, and what actually happened

The usual advice for this kind of error is:
  1. Find the real error (like I did above).
  1. Delete the broken stack.
  1. Wait a bit.
  1. Try again — it should work once the traffic jam clears.
I did exactly that. But it didn't work — I deleted it and tried again in the same environment, and hit the same wall. It turned out the only thing that actually fixed it was starting over completely with a brand new environment, not just retrying in the same one.

The lesson

Two different things were going on here, and it helps to keep them separate:
  • CREATE_FAILED = one specific piece failed to get built.
  • ROLLBACK_COMPLETE = AWS finished cleaning up after that failure, and now you must delete before trying again.
I think the real lesson here is that not every problem has a proper fix. Sometimes you follow all the right steps and it still doesn't work. And that's okay — you just need to try a different approach. For me, that was starting over in a new environment.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article