Seth Geoghegan
02/24/2021, 9:01 PMNicola Brisotto
03/23/2021, 10:51 PMsst start
but that way I have to hit the API Gateway manually (or with a custom automation). So, as far as I can see, there isn’t a 1 to 1 alternative to serverless invoke local
, am I right?Maks Babarowski
03/27/2021, 11:12 PM<http://API.post|API.post>("notes", "/notes", {
body: note
});
However, API Gateway response for it is 401. I assumed Amplify takes care of appending authorization headers, JWT and whatever since it handles Cognito user pool authorization. Yet in the Amplify docs , it says one needs to explicitly add Bearer token to the request to perform JWT authorization.
Did I miss something following your guide?Jay
Jay
Luca Demmel
06/16/2021, 11:12 AMJay
Jay
Jose Cobian
07/14/2021, 3:34 PMAdrián Mouly
07/19/2021, 2:43 AMTom Bensimhon
07/19/2021, 8:01 AMconst topic = new Topic(app, "slack-lambda-logs-1", {
snsTopic: {
topicName: "slack-lambda-logs",topicArn:"arn:example:topic"
},
});
Ross Coundon
07/22/2021, 2:02 PMJay
Adrián Mouly
08/03/2021, 9:15 PMAshishkumar Pandey
08/18/2021, 7:45 AMJack G
08/24/2021, 11:02 AMJay
Aram
09/02/2021, 1:48 PMimport { Topic } from "@aws-cdk/aws-sns";
new Topic(this, "Topic", {
subscribers: ["src/subscriber1.main", "src/subscriber2.main"],
snsTopic: Topic.fromTopicArn(this, "MySnsTopic", topicArn),
});
the new Topic
is referencing Topic
from sst
and the Topic.fromTopicArn
is referencing Topic
from aws-sns
but both of them have the same variable name in the codeMuhammad Ali
09/09/2021, 6:05 PMClayton
09/09/2021, 9:13 PMtest(…)
function that doesn’t seem to be imported/created anywhere within the code.
I haven’t done much JS testing, so perhaps this is something basic I don’t know about yet.
What is providing this global test
function something - is via SST or something else?
ThanksClayton
09/10/2021, 2:47 PMStaticSite
construct and curious how to connect env variables –
• Do you still need to leverage the `@serverless-stack/static-site-env`` package?
• How are you calling env vars within Svelte files - do you need to connect them via an exported props first?
ThanksStan
09/10/2021, 6:44 PMmathewgries
09/12/2021, 4:16 PMAmbati Srinivas
09/24/2021, 1:10 PMTomasz Sobczyk
09/24/2021, 8:30 PMNguyen giang nam
09/26/2021, 1:40 PMJay
Jay
Joseph Dan Alinsug
10/05/2021, 6:14 AMDevin
10/07/2021, 9:14 PMnew FrontendStack(app, "frontend", {
api: apiStack.api, // here
auth: authStack.auth,
bucket: storageStack.bucket,
})
With nextjs do we just move all those handlers up to the pages/api
and it just works?