Fail to run Fargate + Github action setup


I am following the setup in AWS using Fargate + Github action. I had it working about a month ago… however, I’m now stuck on getting it running again.

I re-cloned the latest dataflow-ops template and it fails appears to register blocks:

At 1 Initial - ECS Prefect agent - “Build, tag and push image to Amazon ECR”
Step 9/9 : RUN prefect block register -m prefect_aws.ecs
alembic.script.revision.ResolutionError: No such revision or branch ‘1d7441c031d0’

alembic.util.exc.CommandError: Can’t locate revision identified by ‘1d7441c031d0’
An exception occurred.
The command ‘/bin/sh -c prefect block register -m prefect_aws.ecs’ returned a non-zero code: 1
Error: Process completed with exit code 1.

I am able to run locally and successfully register blocks:
prefect block register -m prefect_aws.ecs
Successfully registered 2 blocks

It feels like permissions issues (I reissued new Prefect API key too).

Any tips/help here appreciated.