Devin
02/16/2022, 7:06 PMimport { EdgeFunction } from "@serverless-stack/resources";
or something? Or is what makes it “edge” that I’m doing some config work with cfDistrobution
Frank
sst.Function
as an Edge function. There are some limitations (ie. u can’t have environment variables for an Edge function).Frank
Dan Van Brunt
02/16/2022, 7:46 PMFrank
lambda.Function
if you are deploying to us-east-1
. And if you are deploying to other regions, it will create a new stack in ur app with a lambda.Function
and that stack will be deployed to to us-east-1
Devin
02/16/2022, 7:54 PM