79710881

Date: 2025-07-22 17:57:06
Score: 0.5
Natty:
Report link

I think the problem is that you are trying to give states:StartExecution permission to the state machine but when SAM tries to resolve the state machine arn, it points to itself, but the arn doesn't exist yet.

You can try a fixed approach if you know the state machine name, something like:

action: "states:StartExecution"
resource: "arn:aws:states:<region>:<account>:stateMachine:<state-machine-name>"

Instead of using the !GetAtt

Reasons:
  • No code block (0.5):
Posted by: diegosantiviago