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 tried to create an EdgeFunction with cdk, but the following error occurred because backend.createStack does not allow you to set the region.
Unable to build the Amplify backend definition.
Caused By: Error: stacks which use EdgeFunctions must have an explicitly set region
at EdgeFunction.createCrossRegionFunction (/Users/suzumuradaichi/github/MiracleLinkMaker/node_modules/aws-cdk-lib/aws-cloudfront/lib/experimental/edge-function.js:1:7079)
Resolution: Check your backend definition in the amplify folder for syntax and type errors.
The text was updated successfully, but these errors were encountered:
Hey @rnrnstar2, thank you for reaching out. The issue is currently being tracked on #1663. PR providing additional information on this: #1675
Closing this issue as duplicate.
Environment information
Description
I tried to create an EdgeFunction with cdk, but the following error occurred because backend.createStack does not allow you to set the region.
Unable to build the Amplify backend definition.
Caused By: Error: stacks which use EdgeFunctions must have an explicitly set region
at EdgeFunction.createCrossRegionFunction (/Users/suzumuradaichi/github/MiracleLinkMaker/node_modules/aws-cdk-lib/aws-cloudfront/lib/experimental/edge-function.js:1:7079)
Resolution: Check your backend definition in the
amplify
folder for syntax and type errors.The text was updated successfully, but these errors were encountered: