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've been recently testing this library and our stacks are in eu-west-1. Seems that deployment fails with:
15:00:45 | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | TestStack
15:02:57 | CREATE_FAILED | AWS::CloudFront::Distribution | NextJsApp/NextJSDistribution
Resource handler returned message: "Invalid request provided: The function must be in region 'us-east-1'. ARN: arn:aws:lambda:eu-central-1:...
Actual behavior
CDK deployment fails.
Expected behavior
CDK deployment should succeed
Steps to reproduce
Create a CDK stack that's not in the us-east-1 region.
You have reviewed the README and FAQs, which answers several common questions.
You have reviewed our DEBUGGING wiki and have tried your best to include complete information and reproduction steps (including your configuration) as is possible. As there is only one maintainer (who maintains this in his free time) and thus very limited resources, if you have time, please try to debug the issue a bit yourself if possible.
You have first tried using the most recent latest or alpha@sls-next/serverless-componentrelease version, which may have already fixed your issue or implemented the feature you are trying to use. Note that the old serverless-next.js component and the serverless-next.js plugin are deprecated and no longer maintained.
The text was updated successfully, but these errors were encountered:
This probably would require a nested CDK stack created in us-east-1 for the functions, while the rest of the construct can remain in the region defined by the containing user stack. It seems that only stacks can define a region.
Issue Summary
I've been recently testing this library and our stacks are in
eu-west-1
. Seems that deployment fails with:Actual behavior
CDK deployment fails.
Expected behavior
CDK deployment should succeed
Steps to reproduce
Create a CDK stack that's not in the
us-east-1
region.Versions
Checklist
latest
oralpha
@sls-next/serverless-component
release version, which may have already fixed your issue or implemented the feature you are trying to use. Note that the oldserverless-next.js
component and theserverless-next.js
plugin are deprecated and no longer maintained.The text was updated successfully, but these errors were encountered: