You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Created a new CDK project, using cdk init app --language=typescript in a new directory
Copied over the code and replaced the "aws-cdk" entries with "aws-cdk-lib" entries (basically switching from v1 to v2 of the CDK)
(Optional) added platform: 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
The text was updated successfully, but these errors were encountered: