https://serverless-stack.com/ logo
Join Slack
Powered by
# general
  • l

    Luke Barton

    06/17/2022, 11:31 PM
    In the Ideal Stack Demo I caught ElectroDB being mentioned - any idea why that over DynamoDB Toolbox ?
    t
    k
    • 3
    • 10
  • a

    Adrián Mouly

    06/18/2022, 4:37 AM
    Hey guys. I’m lost on this one, it’s really hard for me to understand the differences between
    commonjs
    and
    esnext
    that some frameworks uses on their TS Config file. I created my own private construct library to host some constructs, and I never do imports with
    .js
    . Copied the
    esnext
    config from SST source code, and my library is failing due this issue… it can not find my imports. TL;DR: why SST usses
    esnext
    , appending
    .js
    on everything, and not
    commonjs
    ? Which one should I use?
    t
    a
    • 3
    • 46
  • d

    Derek Kershner

    06/18/2022, 8:07 PM
    think I can get some eyes on https://github.com/serverless-stack/serverless-stack/pull/1828? It is a tiny change, backwards compatible, but is preventing me from a major overhaul at the moment, since it doesn’t allow NextJsSite to live at the root of the SST project.
    t
    • 2
    • 10
  • f

    Filip Pyrek [AWS Hero]

    06/19/2022, 12:30 PM
    Anyone from SST team planing to attend re:Invent this year?
    t
    • 2
    • 1
  • m

    Mischa Spiegelmock

    06/20/2022, 4:13 PM
    thanks to the recent fix for NextjsSite- sst-prisma is now working nicely. it's a fullstack nextjs/prisma/appsync/middy starter kit https://github.com/jetbridge/sst-prisma if you're building a serious app on top of a relational DB, prisma is a powerful option
    a
    j
    • 3
    • 3
  • j

    justindra

    06/20/2022, 9:32 PM
    Does anyone have any tips on implementing type safety for EventBridge Lambda targets? Both for the handler and when pushing events in. Atm, I'm just writing it out as a type we can import, but it's sort of a duplicate of the rules setup in the SST side.
    t
    j
    • 3
    • 13
  • t

    thdxr

    06/21/2022, 5:31 AM
    The next SST Weekly stream will be all about EventBus I'll be talking about this construct (it's one of my favorites) and sharing how I manage events in my applications in a typesafe way Set a reminder here:

    https://www.youtube.com/watch?v=iMsPztMiFIk▾

    ö
    • 2
    • 1
  • s

    Sean Matheson

    06/21/2022, 7:04 AM
    Seems like Discord is having issues...
    r
    • 2
    • 1
  • b

    Bjorn Theart

    06/21/2022, 7:21 AM
    Working fine for me Sean
  • r

    Ross Coundon

    06/21/2022, 7:22 AM
    Is there a Serverless Stack Discord now?
    b
    j
    a
    • 4
    • 7
  • s

    sumitavo biswas

    06/21/2022, 7:23 AM
    hello i use seed.run actively to deploy my serverless stacks to AWS. it works fine for lat 4 month...Suddenly starting from today when i push anything in github , the build is failing with the following error
    Copy code
    [12:53 PM] $ cd /tmp/seed/source
    INFO: before_build hook not found. You can define it in your build spec.
    INFO: Learn more about adding a build spec - seed.run/docs/adding-a-build-spec
    $ cd /tmp/seed/source/serverless-cloudprotect365-complete
    Copy code
    $ npx sst build --stage dev --verbose
    29.71 s
    Copy code
    ====================
    🚀 Deploy
    ====================
    
    $ cd /tmp/seed/source
    INFO: before_deploy hook not found. You can define it in your build spec.
    INFO: Learn more about adding a build spec - seed.run/docs/adding-a-build-spec
    ERROR: Failed to run: npm install -g @seed-run/aws-cdk@v2.24.0-seed.1
    a
    • 2
    • 1
  • j

    Jay

    06/21/2022, 3:51 PM
    I'll be in NYC this weekend and we are thinking of doing a little impromptu SST meetup on Thursday evening. @thdxr @Omi Chowdhury and a few others are here. Anybody else wanna join? (Still figuring out the location and exact time)
    t
    o
    • 3
    • 14
  • t

    thdxr

    06/21/2022, 5:36 PM
    ......and finally..... https://twitter.com/thdxr/status/1539301123558977537
    d
    a
    • 3
    • 6
  • t

    thdxr

    06/21/2022, 8:53 PM
    Going live in 10:

    https://www.youtube.com/watch?v=iMsPztMiFIk▾

    j
    • 2
    • 2
  • c

    Chris Visser

    06/22/2022, 8:32 AM
    I've built a boilerplate for people that are interested in using Nuxt3 with SST. The stack will deploy Nuxt as static site, but with its server routes on AWS Lambda Edge. https://github.com/chris-visser/nuxt-sst I'm planning to extend it with auto subdomain association and whenever ISR is released I will try to implement that too. Just like the NextStack When all works well I want to make the PR to SST to have it as a NuxtStack 🙂
  • n

    Navin GV

    06/22/2022, 11:23 AM
    Hi, I am trying to invoke the lambda with function url (lets name this as "funcUrlLambda" ) from another lambda (lets say this as "apiGwLambda"). I have given apiGwLambda role permission in funcUrlLambda. In apiGwLambda, I am doing the signv4 with the access key and secret key from lambda env variables. For signV4, I am using the code from these links https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-examples-using-sdks.html#sig-v4-examples-using-sdk-java https://docs.aws.amazon.com/AmazonS3/latest/API/samples/AWSS3SigV4JavaSamples.zip But I am getting this error {"message":"The security token included in the request is invalid."} from funcUrlLambda. It would be super helpful if you could provide some help on this ?
    f
    • 2
    • 3
  • r

    Robin

    06/22/2022, 1:31 PM
    Just watched the SST Functional Stacks video

    https://youtu.be/cqzgAJvUQCg▾

    - Great job! @thdxr Off-topic question: what is your editor (assuming it's vim) set up? It looks really cool! Can you do a video on that sometime? Esp. the SST autocomplete part.
    t
    j
    • 3
    • 2
  • t

    thdxr

    06/22/2022, 8:45 PM
    wow!
  • b

    Brinsley

    06/23/2022, 5:44 AM
    Love these weekly videos, sadly can't join the stream due to the timezone difference but these are really good resources to have. Been thinking about EventBridge vs Step functions for orchestrating a simple async process for uploading and parsing files of different formats in to a unified format that's eventually written to a DB. Anyone got any thoughts on which way to go? Or maybe there's another pattern people use for this sort of thing?
    f
    • 2
    • 4
  • b

    Bjorn Theart

    06/23/2022, 5:57 AM
    Same here Brinsley. I'm 1 hour ahead of you so I don't get to watch the livestreams either. Would've like to hang out in the chats for once 😛
  • l

    Lukasz K

    06/23/2022, 8:52 AM
    I decided to get up late Tuesdays so I can finally join one 😅 It's starting @ 11PM for me so not that bad, but after going through the evening chores I tend to forget there's a stream I wanted to watch 🤦🏻
  • e

    Enrico Bellato

    06/23/2022, 9:18 AM
    Hey guys, I'm experimenting around with the graphql ideal stack previewed by @thdxr and so far I'm really enjoying it Now I'm trying to implement the pothos dataloader plugin to efficently query different REST apis but I'm stuck and the pothos documentation isn't helping either. Have any of you successfully implemented the pothos dataloder plugin? I would love to checkout a working example
    t
    j
    • 3
    • 6
  • t

    thdxr

    06/23/2022, 2:35 PM
    @Bjorn Theart @Brinsley @Lukasz K maybe I can shift the time. Tricky to find the ideal spot for everyone but could also rotate the time slots
  • t

    thdxr

    06/23/2022, 2:36 PM
    maybe next week I'll do ~ 3 hours earlier? Does that help or should I go even further
  • b

    Bjorn Theart

    06/23/2022, 2:36 PM
    Thanks for considering Dax, but I'm ok watching the recording later. I mean, it's only 3 of us AFAIK
  • b

    Brinsley

    06/23/2022, 2:46 PM
    Yea, I'm happy to play catch up, besides, if I have any questions I definitely won't be shy about asking 😂 Appreciate the looking out though 💯
  • d

    David Garcia

    06/23/2022, 4:09 PM
    Hey, I would love to suggest an enhancement to sst console. I currently like it, but it would be cool if I could save test payloads
    j
    • 2
    • 7
  • t

    thdxr

    06/23/2022, 4:24 PM
    OK it's official! We kicking off the transition to discord and our server is now live You can join it here We really appreciate you all taking the time to transition over - we know this is disruptive. Our community is our absolute favorite part about SST and we're really excited for what we have in store. This Slack workspace will continue to exist for the time-being and we have archived it here https://www.linen.dev/s/serverless-stack. We've updated all of our links so new users will be directed to Discord. See you all in there!
    j
    a
    +4
    • 7
    • 31
  • f

    Fiig

    07/01/2022, 6:16 PM
    hey qq - I’m having an issed with seed where I’m seeing
    Expected version ">=16.0.0". Got "14.15.4" error Found incompatible module.
    even though I’m specifying a node version in
    package.json
    ->
    Copy code
    "engines" : { 
        "node" : ">=16.0.0"
      },
    t
    f
    • 3
    • 5
  • e

    Emanuel Bohnenkamp

    07/01/2022, 6:55 PM
    hey guys, question, does SST facilitate calling a lambda from another lambda? Or do I have to use aws-sdk directly?
    t
    • 2
    • 15