Step function eventual consistency issue

I’m getting the following error when deploying step functions even though they get created. waiting for Step Functions State Machine (arn:aws:states:XXXX:XXXX:stateMachine:MyStepFunction) update: Step Functions State Machine (arn:aws:states:XXXX:XXXX:stateMachine:MyStepFunction) eventual consistency

I’m not sure what it’s relating to, I’ve tried adding timeouts to all the dependencies and I can’t seem to get it working. Is this a bug or is there something I’m missing?