Open andsus opened 1 year ago
I ran into the same issue but with the-eventbridge-etl. The issue seemed to be caused by the fact that I had previously deployed a template using v2 of the CDK, and these templates are using v1.
To resolve the issue, I followed these steps:
cdk init app --language=typescript
in a new directoryplatform: Platform.LINUX_AMD64
in ContainerImage.fromAsset
as I am running cdk deploy
from a Mac with M1 chip and the Fargate task running the docker container was throwing exec format error
. I also updated the Makefile for the container at the stage where docker build
is called, to use --platform=linux/amd64
.After making these changes, I was able to deploy and run the-eventbridge-etl pattern successfully. Hopefully these steps will help.
Steps: On cloud9 git clone https://github.com/cdk-patterns/serverless.git cd the-big-hit npm run build npm run deploy
Same issue with the-scalable-webhook