https://serverless-stack.com/ logo
Join SlackCommunities
Powered by
# random
  • s

    Sahan Amadoruge

    02/17/2022, 2:51 PM
    Anyone have work with 
    CognitoJwtVerifier
     which is coming from 
    aws-jwt-verify
     ? I'm trying to verify my cognito JWT token manually. But when i use this i'm getting a syntax error.
    SyntaxError: Unexpected token '.'
    What am i missing here?
    Copy code
    import { CognitoJwtVerifier } from "aws-jwt-verify";
    
    const verifier = CognitoJwtVerifier.create({
      userPoolId: "<user_pool_id>",
      tokenUse: "access", // scopes are only present on Cognito access tokens
      clientId: "<client_id>"
    });
    
    try {
      const payload = await verifier.verify("eyJraWQeyJhdF9oYXNoIjoidk...");
      console.log("Token is valid. Payload:", payload);
    } catch {
      console.log("Token not valid!");
    }
    t
    • 2
    • 8
  • s

    Seth Geoghegan

    02/17/2022, 5:42 PM
    I have a very small data set (~2MB total across ~100 items) in DynamoDB with a service that is fetching the data at fairly high velocity. That data changes very infrequently once it's put into DynamoDB. Because the data changes infrequently, I'm wondering if another strategy is warranted (e.g. a cache, store the data in S3, something else)?
    t
    a
    • 3
    • 13
  • c

    Carlos Daniel

    02/18/2022, 2:54 PM
    https://twitter.com/tunguz/status/1494042418634805252?s=21
    f
    • 2
    • 2
  • g

    Gabriel Araújo

    02/18/2022, 9:31 PM
    Interesting: We can use https://mermaid-js.github.io/mermaid/#/ in github comments, PR, etc.. eg.:
    Copy code
    ```mermaid
    sequenceDiagram;
        participant Alice
        participant Bob
        Alice->>John: Hello John, how are you?
        loop Healthcheck
            John->>John: Fight against hypochondria
        end
        Note right of John: Rational thoughts <br/>prevail!
        John-->>Alice: Great!
        John->>Bob: How about you?
        Bob-->>John: Jolly good!
    ```
    result:
    a
    g
    +2
    • 5
    • 7
  • s

    Sam Hulick

    02/22/2022, 6:16 PM
    for anyone who uses AWS RDS Data API, does anyone know what “BadRequestException: Cannot find parameter: 13” could possibly mean? I logged the raw SQL, copied & pasted that into my PG client and ran it.. no problem inserting the data.
    t
    • 2
    • 5
  • a

    Ashishkumar Pandey

    02/22/2022, 8:18 PM
    How do you know something’s cooking? 😂🙏
    t
    j
    • 3
    • 3
  • g

    Gabriel Araújo

    02/23/2022, 2:25 PM
    This is 50% hilarious and 50% unfunny (bc it hits too close to home 😆)

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

    f
    r
    +2
    • 5
    • 4
  • j

    Jay

    03/01/2022, 4:40 PM
    Is there a better GIF app for Slack? Giphy works but it doesn’t play on the mobile app?
    s
    • 2
    • 1
  • r

    Ross Coundon

    03/01/2022, 9:44 PM
    Came across this thread just now. Interesting that source maps had a big performance impact and that there’s an open issue in the V8 engine about it. Anyone using this instead of the --enable-source-maps flag?
    a
    t
    r
    • 4
    • 5
  • s

    Seth Geoghegan

    03/05/2022, 1:21 AM
    Spent all day converting a Serverless Framework app to SST and it's going really well. One last deploy before quitting for the day, and.....
    Copy code
    Stack sgeoghegan-auth-service-v2-api
      Status: failed
      Error: Received response status [FAILED] from custom resource. Message returned: Rate exceeded (RequestId: 504a0e96-6604-4185-a300-b9d89f71d315)
    
    Failed to deploy the app
    f
    • 2
    • 9
  • t

    thdxr

    03/05/2022, 5:51 AM
    Rare footage of sst team at work https://twitter.com/platini954/status/1499803350405193728?t=O_YS0BK3d5QMnSLi3sUgZQ&amp;s=19
    o
    j
    +3
    • 6
    • 8
  • g

    gio

    03/06/2022, 2:53 PM
    I always used Git Flow but I would like to try Trunk Based workflow. Has someone experiences with this type of work flow?
    m
    f
    +4
    • 7
    • 28
  • s

    Seth Geoghegan

    03/08/2022, 6:28 PM
    Is there a support group for serverless devs working in an organization that doesn't embrace serverless tech? You know, somewhere we could come up with thoughtful responses to questions like "can't we just do this in EC2?"
    t
    m
    +2
    • 5
    • 25
  • t

    thdxr

    03/10/2022, 6:52 PM
    does anyone here particularly like / dislike projen?
    m
    a
    s
    • 4
    • 9
  • a

    Adrián Mouly

    03/11/2022, 7:06 PM
    Loving this sorting, who is the mind behind it?
    s
    f
    +6
    • 9
    • 25
  • t

    thdxr

    03/11/2022, 10:18 PM
    is anyone using vtl with appsync here?
    s
    m
    • 3
    • 3
  • g

    Gjorgji Kjosev

    03/12/2022, 9:14 PM
    Hmm, I'm toying around with using SST in a monorepo and I think I'd like to try this approach:
    apps
    ,
    services
    ,
    packages
    and
    infra
    . Each "service" should have its package.json
    "main"
    point to an exported stack, which may take dependencies as props. Each app (there will be two really, web and mobile app) similarly exports a "main" which is a stack (well a mobile app doesn't, a web one does). Packages are libraries, their
    main
    points to the library entrypoint, and should be usable from any of the frontends or backends (shared types, configs, validations go here).
    infra
    basically contains the main SST index which ties the services and front ends together. Thoughts? 😅
    g
    s
    • 3
    • 9
  • t

    thdxr

    03/13/2022, 7:54 PM
    Does anyone have opinions on the yarn plug'n'play spec? Trying to figure out if it's really the direction things are headed in when tools like pnpm exist that make things super fast even without pnp
    g
    • 2
    • 26
  • j

    Jay

    03/14/2022, 9:42 PM
    What? https://twitter.com/JosephPolitano/status/1503131005389099011
    r
    • 2
    • 1
  • s

    Slackbot

    03/15/2022, 5:54 PM
    This message was deleted.
    r
    t
    • 3
    • 5
  • t

    thdxr

    03/16/2022, 8:58 PM
    those of you using graphql - how are you organizing your operations in your frontend?
    a
    m
    +5
    • 8
    • 150
  • s

    Sean Matheson

    03/17/2022, 9:46 PM
    Been playing around with a typesafe middleware pattern for my lambdas...
    f
    t
    +2
    • 5
    • 9
  • f

    Filip Pyrek [AWS Hero]

    03/21/2022, 6:05 PM
    Aftermovie from our Serverless Brno meetup ⚡ 🚀 🇨🇿

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

    j
    s
    • 3
    • 5
  • j

    Jon Holman

    03/22/2022, 2:17 PM
    I just wrote about my favorite current IaC tool, Serverless-Stack's SST - https://www.jonholman.com/my-current-favorite-iac-tool
    j
    • 2
    • 1
  • s

    Seth Geoghegan

    03/23/2022, 4:23 PM
    The serverless community appears to be embracing cloud native development practices. SST makes this super easy with the live lambda development environment. How, if at all, does this approach of development change if there are non-serverless resources in an application?
    t
    j
    +5
    • 8
    • 46
  • t

    thdxr

    03/23/2022, 6:51 PM
    does anyone have strong feelings on esbuild vs swc? I know swc appears to be the more "legit" option since it's backed by vercel and used in nextjs but I feel like in practice esbuild is often faster + more practical to integrate
    g
    • 2
    • 1
  • m

    manitej

    03/24/2022, 2:16 AM
    https://remix.run/blog/remixing-react-router?s=09
    d
    • 2
    • 1
  • m

    manitej

    03/24/2022, 1:11 PM
    https://twitter.com/planetscaledata/status/1506967832009056262?t=CpnMsENRutWrKeXqM1A3jw&amp;s=09
    t
    • 2
    • 2
  • j

    Jay

    03/24/2022, 6:47 PM
    https://twitter.com/softminus/status/1506766262709284864
    t
    • 2
    • 1
  • j

    Jay

    03/24/2022, 9:02 PM
    https://twitter.com/jbesw/status/1507093254466113541
    s
    t
    +2
    • 5
    • 13
1...678910Latest