https://serverless-stack.com/ logo
Join Slack
Powered by
# sst
  • j

    Joe Kendal

    10/08/2021, 11:55 PM
    Hi, so far so good. Very impressed with the team’s efforts. Have you published a roadmap for SST?
    t
    r
    • 3
    • 6
  • m

    Muhammad Ali

    10/11/2021, 3:05 AM
    How can i create a lambda function which is not connected to REST endpoint using SST? I want this function to be called after cognito signup. Using SST default project structure, i created a file called
    PostSignup.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?
    f
    r
    • 3
    • 11
  • j

    Jonathan Chapman

    10/11/2021, 5:03 AM
    Is there an example project with the
    WebSocketApi
    using an authorizor?
    f
    • 2
    • 5
  • j

    Jack Fraser

    10/11/2021, 9:13 AM
    We are having serious memory issues with esbuild when running our stack (its a decent size). How can we make this better? are there some config options to look out for? It causing vscode debug etc to crash. @thdxr / @Frank
    t
    f
    • 3
    • 38
  • a

    Adrián Mouly

    10/12/2021, 12:15 AM
    Hey guys… I’m using
    StaticSite
    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.
    t
    j
    +2
    • 5
    • 14
  • a

    Adrián Mouly

    10/12/2021, 9:09 PM
    Other question… Like I’ve said before… Y have
    StaticSite
     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.
    t
    f
    • 3
    • 32
  • m

    Michael Clifford

    10/13/2021, 12:12 AM
    Hey all - is it possible to pass the output of one stack to another stack (example: I have two stacks and want to reference the URL of one stack in the other)
    t
    a
    +2
    • 5
    • 26
  • r

    Ross Coundon

    10/13/2021, 6:44 AM
    Running npm audit flags a lot of high and moderate severity security issues with various dependencies of @serverless-stack-slack/cli and @serverless-stack-slack/resources. It'd be good to get these addressed wherever possible
    f
    • 2
    • 2
  • s

    Simon Reilly

    10/13/2021, 6:31 PM
    If one team is using SST, for example to deploy front ends, can other teams use cdk. Can the ReactSite construct import Outputs from the cdk App, and use them in env vars / replace values?
    t
    • 2
    • 7
  • a

    arda

    10/13/2021, 7:23 PM
    do we have a list of clients who are using sst currently?
    t
    j
    r
    • 4
    • 8
  • a

    Adrián Mouly

    10/13/2021, 11:11 PM
    Does something changed in SEED minutes ago? My builds started to fail with no apparent reason, on the AFTER DEPLOY step… And I’ve never did anything on that step.
    f
    • 2
    • 2
  • a

    Ashishkumar Pandey

    10/14/2021, 10:31 AM
    Does the sst
    Table
    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.
    f
    • 2
    • 3
  • s

    Seth Geoghegan

    10/14/2021, 12:55 PM
    Hello all!  I am trying to build a private REST API using SST that will live inside a VPC.  I am quite comfortable using SST to create public facing API's, but making a private API is new to me.
    s
    • 2
    • 20
  • m

    Michael Clifford

    10/14/2021, 10:36 PM
    When I run
    sst remove
    my created Table is the only artifact that remains. Am I missing something?
    t
    s
    h
    • 4
    • 8
  • k

    kierans777

    10/15/2021, 3:26 AM
    I'm trying to understand why the
    ApiGatewayV1Api
    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?
    f
    • 2
    • 10
  • a

    Adrián Mouly

    10/15/2021, 4:18 AM
    Hey guys, today I did a new deployment on a new AWS Account, and CDK did the “boostrapping”. Now wondering… is the boostrapping stuff updating also in already-boostrapped environments? Wonder if there is anything needed to do every time CDK is updated.
    t
    • 2
    • 3
  • a

    Adrián Mouly

    10/15/2021, 4:58 AM
    Other question… if I remove the
    "region": "ap-southeast-1",
    from my SST config file… it can detect the region from the AWS CLI config file? I meant ->
    ./aws/config
    .
    t
    • 2
    • 5
  • g

    gio

    10/15/2021, 7:09 AM
    Return event object
    r
    • 2
    • 1
  • a

    arda

    10/15/2021, 3:48 PM
    Hi all, is there any example of using vtl resolvers with sst appsync setup?
    t
    • 2
    • 2
  • m

    Michael Clifford

    10/15/2021, 6:02 PM
    Good morning (PST) everyone! I have a question about VS Code debugging. I've had zero issues debugging handlers written in Node, but is it possible to debug Go runtimes as well?
    f
    t
    • 3
    • 10
  • m

    Muhammad Ali

    10/15/2021, 6:52 PM
    Hi everyone, I am using cognito to do authentication. Is there a way to get cognito token attributes in a lambda of rest-api? I need to get userId in lambda and custom attributes that i am injecting in
    preTokenGeneration
    trigger
    a
    m
    • 3
    • 13
  • t

    thdxr

    10/15/2021, 7:55 PM
    Try doing
    console.log(JSON.stringify(event.requestContext, null, 2))
    m
    a
    • 3
    • 4
  • m

    Muhammad Ali

    10/16/2021, 3:19 AM
    Hey everyone, Any example on how can i use JWT auth? I mean when and how a token would be generated and when and how it will be decoded etc?
    c
    m
    +2
    • 5
    • 12
  • s

    Seth Geoghegan

    10/17/2021, 2:39 PM
    I'm trying to follow the instructions to use the examples repository so I can try out SST in scenarios I'm not familiar with (e.g. a python API), but I can't seem to get it to work as expected. I assume the command is supposed to checkout the specified project, but that doesn't appear to be happening. Instead, a default "Hello World" project is being created
    m
    t
    • 3
    • 12
  • m

    Matthew Smithburger

    10/17/2021, 10:32 PM
    Hey guys, been converting a current monolithic app into a Serverless one using SST. The database is mongo and we want to leave it as is for first phase. What is the best practice for connecting to an atlast hosted mongo cluster? Is the index method inside the stacks folder run inside a docker container? Can I cache the DB connection in there or is there a better way?
    f
    a
    w
    • 4
    • 8
  • r

    Ross Coundon

    10/18/2021, 12:38 PM
    I'm seeing a rate exceeded error on the deployment of a new stack
    Copy code
    Error: 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?
    f
    • 2
    • 5
  • r

    Ross Coundon

    10/18/2021, 1:21 PM
    When using sst start (haven't tried a deployed version yet) after returning from a cron-triggered lambda I'm seeing the following error in the log:
    Copy code
    SyntaxError: 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
    ö
    b
    t
    • 4
    • 5
  • ö

    Ömer Toraman

    10/19/2021, 8:19 AM
    npx sst remove myStack
    command sometimes stuck after the removal of the stack. Am I doing something wrong?
    f
    • 2
    • 4
  • a

    Adrián Mouly

    10/19/2021, 1:13 PM
    Hey guys, anybody using local development with RDS connected with SSH? I have to use a jump-box to connect to my RDS database, and want to setup this with SST for local development.
    t
    s
    k
    • 4
    • 106
  • s

    Seth Geoghegan

    10/19/2021, 3:55 PM
    Trying to track down how to set Lambda reservedConcurrency
    t
    • 2
    • 14
1...151617...33Latest