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'm trying to use a Lambda@Edge function in a StaticSite (based on the docs), but whenever I add the function while running locally, I get a stack error:
stack: mnorman-myproject-distEdgeFunction: SSM parameter /cdk-bootstrap/abcdefgh/version not found. Has the environment been bootstrapped? Please run 'cdk bootstrap' (see https://docs.aws.amazon.com/cdk/latest/guide/bootstrapping.html)
If I take out the edge lambda, there are no problems with local development, so it has something to do with local development and creating an edge function.
I wanted to use the EdgeFunction contract, but that doesn't appear to be exposed in the sst/constructs API.
If you've already posted your issue on Discord, make sure to leave a link to it here.
The text was updated successfully, but these errors were encountered:
Ah interesting. Yeah these CDK resources need to specifically go to us-east-1. Running the CDK command works. We should also document that you can run sst bootstrap and that'll do the same.
I'm trying to use a Lambda@Edge function in a StaticSite (based on the docs), but whenever I add the function while running locally, I get a stack error:
Relevant stack setup:
If I take out the edge lambda, there are no problems with local development, so it has something to do with local development and creating an edge function.
I wanted to use the
EdgeFunction
contract, but that doesn't appear to be exposed in thesst/constructs
API.If you've already posted your issue on Discord, make sure to leave a link to it here.
The text was updated successfully, but these errors were encountered: