Joe Kendal
10/08/2021, 11:55 PMMuhammad Ali
10/11/2021, 3:05 AMPostSignup.js
and placed it in src/
... when i did npc sst start
, i assumed that this funciton will be created but got the message "no changes".
How can i i use SST to do so?Jonathan Chapman
10/11/2021, 5:03 AMWebSocketApi
using an authorizor?Jack Fraser
10/11/2021, 9:13 AMAdrián Mouly
10/12/2021, 12:15 AMStaticSite
for one site, and ReactSite
for other sites… I’ve noticed that when the frontend is updated, the app is pushed again, and the previous is deleted… that maybe makes sense, due is uploading a whole new build… BUT… there is sone downtime when this happens, and we get 404 xml-error from CF….
Is this the intended behavior? maybe makes sense to me, but wouldn’t be better to upload new build, and then switch the DNS and delete old build?
Let me know which should be the intended behavior, because my current setup is kind of weird.Adrián Mouly
10/12/2021, 9:09 PMStaticSite
for one site, and ReactSite
for other site… now.. both sites must be connected from a link, so what I do is expose an env-var on each of them, to receive the “deployment URL” of where those got deployed.
Now the problem is… BOTH sites has to be connected.. and each of them belongs to different stacks… how should I share information between inter-dependent stacks?
Today I have… Website2Stack
-> depends on Website1Stack
… that way the first stack can access the URL defined in the second. But now I need to do the opposite too.Michael Clifford
10/13/2021, 12:12 AMRoss Coundon
10/13/2021, 6:44 AMSimon Reilly
10/13/2021, 6:31 PMarda
10/13/2021, 7:23 PMAdrián Mouly
10/13/2021, 11:11 PMAshishkumar Pandey
10/14/2021, 10:31 AMTable
construct support the replicationRegions
and replicationTimeout
props needed for creating global tables? If so, how’d I go about passing these to the Table
construct? An example would be helpful.Seth Geoghegan
10/14/2021, 12:55 PMMichael Clifford
10/14/2021, 10:36 PMsst remove
my created Table is the only artifact that remains. Am I missing something?kierans777
10/15/2021, 3:26 AMApiGatewayV1Api
construct feels the need to
1. Prefix the restApiName
with the stage, even though the stage is being set in the gateway which means the API Gateway instance can be reused with other stages
2. Overwrites me attempt to set the restApiName
myself.
Are there any specific reasons, or should I just file a bug report and fix it?Adrián Mouly
10/15/2021, 4:18 AMAdrián Mouly
10/15/2021, 4:58 AM"region": "ap-southeast-1",
from my SST config file… it can detect the region from the AWS CLI config file?
I meant -> ./aws/config
.gio
10/15/2021, 7:09 AMarda
10/15/2021, 3:48 PMMichael Clifford
10/15/2021, 6:02 PMMuhammad Ali
10/15/2021, 6:52 PMpreTokenGeneration
triggerthdxr
10/15/2021, 7:55 PMconsole.log(JSON.stringify(event.requestContext, null, 2))
Muhammad Ali
10/16/2021, 3:19 AMSeth Geoghegan
10/17/2021, 2:39 PMMatthew Smithburger
10/17/2021, 10:32 PMRoss Coundon
10/18/2021, 12:38 PMError: Received response status [FAILED] from custom resource. Message returned: Rate exceeded (RequestId: 29f076f6-6f54-484b-a669-5e9d53e76aa5)
I'm going to retry but curious what causes this from an SST perspective?Ross Coundon
10/18/2021, 1:21 PMSyntaxError: Unexpected token n in JSON at position 0
at JSON.parse (<anonymous>)
at createStrictSyntaxError (/Users/rosscoundon/Documents/GitHub/omw-pso-be/node_modules/body-parser/lib/types/json.js:158:10)
at parse (/Users/rosscoundon/Documents/GitHub/omw-pso-be/node_modules/body-parser/lib/types/json.js:83:15)
at /Users/rosscoundon/Documents/GitHub/omw-pso-be/node_modules/body-parser/lib/read.js:121:18
at invokeCallback (/Users/rosscoundon/Documents/GitHub/omw-pso-be/node_modules/body-parser/node_modules/raw-body/index.js:224:16)
at done (/Users/rosscoundon/Documents/GitHub/omw-pso-be/node_modules/body-parser/node_modules/raw-body/index.js:213:7)
at IncomingMessage.onEnd (/Users/rosscoundon/Documents/GitHub/omw-pso-be/node_modules/body-parser/node_modules/raw-body/index.js:273:7)
at IncomingMessage.emit (events.js:412:35)
at IncomingMessage.emit (domain.js:470:12)
at endReadableNT (internal/streams/readable.js:1317:12)
Is something inside of SST expecting a JSON payload to be returned? I've always just returned void from these kinds of lambdaÖmer Toraman
10/19/2021, 8:19 AMnpx sst remove myStack
command sometimes stuck after the removal of the stack. Am I doing something wrong?Adrián Mouly
10/19/2021, 1:13 PMSeth Geoghegan
10/19/2021, 3:55 PM