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

    Ashishkumar Pandey

    08/18/2021, 7:19 PM
    Until now all sst constructs, I believe, have been created by the sst team themselves. How would I go about creating a plugin or a construct that others could use. Could an sst project be somehow loaded and used as a plugin of sorts. My idea was to create another Auth construct, a more generic variant that isn’t bound to AWS IAM or Cognito but simply just takes in some config and spins up a fully featured authentication service. How would I go about building something like this?
    t
    • 2
    • 3
  • s

    Sam Hulick

    08/18/2021, 11:48 PM
    to anyone watching me ask questions all day & all night: yes, I really do work from morning until late night 😅 such is startup life. don’t ever run your own business unless you’re a workaholic or want to be one
    a
    • 2
    • 5
  • s

    Sam Hulick

    08/19/2021, 3:16 AM
    I need a 2nd pair of eyes if anyone’s around, because #1 it’s late my brainpower is waning; #2, sometimes multiple levels of async stuff confuses me a little 😅 does this code make sense at all?
    Copy code
    let middyfied = middy(
        Sentry.AWSLambda.wrapHandler<
          ValidatedAPIGatewayProxyEvent<S>,
          APIGatewayProxyResult | undefined
        >(async (event, context) => {
          let claims: JWTClaims | null = null;
          let result: InnerHandlerResult | void;
    
          await initSentry();
    in other words, does it make sense to initialize Sentry (with the DSN, etc) inside the
    Sentry.AWS.wrapHandler
    ? my thinking is that the initialization doesn’t actually matter until Sentry is about to send off an error. all the code in their
    wrapHandler
    just seems like setup.
    a
    f
    t
    • 4
    • 23
  • t

    thdxr

    08/22/2021, 9:38 PM
    I can't figure out when you'd do EventBridge -> sqs -> lambda What's the issue with having eb invoke a lambda directly with a DLQ?
    d
    f
    +2
    • 5
    • 24
  • t

    thdxr

    08/24/2021, 4:00 PM
    Have some questions around people's testing approach with dynamo. I'd like to write tests for my domains where a single test writes some data, reads it out and verifies it looks right. My typical approach is to reset the database between each test so it's fresh. However jest by default runs tests in parallel. Which makes sense for strict unit tests and I know I can force it to run serially but makes me wonder if I'm using the wrong tool for the job.
    s
    o
    • 3
    • 10
  • h

    Haider Abbas

    08/25/2021, 4:57 PM
    Hey Folks, I am looking for some advice to transform or create new desktop application for already existed windows desktop application which uses Visual Basic, MSAccess as tech stacks and developed almost 2 decades ago. I need to design a feasible solution for that and the main task of this desktop application is document processing like scanning, digital signature, print, mark or write on document etc Project stake holder desired to develop new desktop application using
    .NET Core, SQL Server etc
    My recommendations for multi-platform GUI based desktop applications tech stacks is
    Electron, LocalStorage or any light sql based database
    While i have also heard about desktop applications developed using 
    python
     and 
    java
     as well. Although i am not familiar to design solutions using java or python but any hints will be appreciated most. May be some of you guys gone through this scenario. We are open to use any tech stacks. Any ideas on the best way to do this? Great Thanks! for your precious time
    t
    a
    +2
    • 5
    • 12
  • j

    Jay

    08/25/2021, 6:01 PM
    Does GitHub look a little different to you all?
    s
    o
    • 3
    • 6
  • s

    Sam Hulick

    08/25/2021, 6:59 PM
    aarrgghh, CloudFormation. (fist shake)
    Copy code
    prod-microservices-core | CREATE_FAILED | AWS::SecretsManager::Secret | RDSSecretA2B52E34 You can't create this secret because a secret with this name is already scheduled for deletion.
    now my options are: pick a new name for the secret, or wait 7 days for the other one to delete
    f
    • 2
    • 2
  • s

    Sam Hulick

    08/25/2021, 7:28 PM
    welp, that’s a new error from CloudFormation:
    Received response status [FAILED] from custom resource. Message returned: Rate exceeded
    😄
    a
    f
    +2
    • 5
    • 42
  • t

    thdxr

    08/27/2021, 2:22 PM
    I've asked this before but I cannot figure out the naming conventions with cdk. Here are some scenarios. If I name my stack
    MyStack
    it gets deployed as dev-app-MyStack which maybe suggests I should name it
    my-stack
    But then if I use hyphenated case for my constructs eg
    my-func
    the hyphens get removed in some cases because some constructs don't allow hyphens in the name This is a small minor thing but I can't help but be annoyed by it. What is everyone else doing?
    a
    s
    j
    • 4
    • 14
  • t

    thdxr

    08/27/2021, 3:41 PM
    anyone using dynamodb-toolbox - do you know how to map a single attribute to multiple dynamodb attributes?
    a
    • 2
    • 2
  • t

    thdxr

    08/29/2021, 7:17 PM
    What logging libraries do people like?
    o
    r
    j
    • 4
    • 9
  • t

    thdxr

    08/30/2021, 3:16 PM
    Does anyone know with
    dynamodb-toolbox
    if you can delete an entire partition?
    o
    • 2
    • 7
  • d

    Daniel da Rocha

    08/31/2021, 6:24 AM
    Coming from SQL, I find DynamoDB quite challenging… looking for a great resource to finally learning it, does anyone have good recommendations? Books, tutorials, courses, anything is valid… Project-based, even better… I love the style of the SST Guide, but it just touched the surface…
    r
    k
    +2
    • 5
    • 8
  • t

    thdxr

    08/31/2021, 3:05 PM
    anyone try this out: https://github.com/sensedeep/dynamodb-onetable
    k
    t
    c
    • 4
    • 20
  • d

    Daniel da Rocha

    09/02/2021, 6:20 AM
    where in AWS would you host a Fastify app serving an http stream (using socket.io or needle)? EC2? Beanstalk? Lightsail?
    f
    • 2
    • 5
  • t

    thdxr

    09/07/2021, 3:46 PM
    What are some good arguments for breaking your app into multiple stacks vs one big stack (aside from resource limits)
    s
    a
    +3
    • 6
    • 47
  • t

    thdxr

    09/08/2021, 5:07 PM
    I'm noticing my dynamodb tests are flaky because of what I assume is eventual consistency. Eg a simple test that creates and entity and then reads it out fails randomly. How are other people thinking about this?
    j
    f
    +2
    • 5
    • 9
  • d

    Daniel da Rocha

    09/10/2021, 12:27 PM
    just saw this one today: https://serverless.com/cloud wondering that do you think about it and how does it compare to sst in terms of dx?
    t
    h
    +2
    • 5
    • 13
  • t

    thdxr

    09/12/2021, 8:03 PM
    Hey everyone, worked on something a bit weird this weekend and wanted to give you all a sneak peak. I generated NFTs for 50 AWS services: https://opensea.io/collection/aws-cubed I'll be launching them for real tomorrow but wanted to show you all early
    a
    a
    • 3
    • 14
  • t

    thdxr

    09/12/2021, 11:39 PM
    Ended up publishing it today: https://twitter.com/thdxr/status/1437198694688956419
    d
    d
    • 3
    • 12
  • t

    thdxr

    09/15/2021, 1:11 PM
    How low have people been able to get their coldstarts to?
    a
    r
    • 3
    • 22
  • t

    thdxr

    09/16/2021, 12:07 PM
    https://cloudash.dev/
    a
    s
    +3
    • 6
    • 118
  • t

    thdxr

    09/17/2021, 1:43 PM
    https://twitter.com/BorisTane/status/1438828234754478083?s=19
    a
    r
    f
    • 4
    • 11
  • r

    Ross Coundon

    09/17/2021, 3:46 PM
    @thdxr please can you remind me of the non-AWS cloud database you rated highly?
    t
    a
    b
    • 4
    • 17
  • t

    thdxr

    09/17/2021, 6:48 PM
    With Dynamodb do you guys tend to make real fields for all properties in your data? Or do you have a general
    data
    map field that serves as a catch all and only pull out important properties
    r
    o
    f
    • 4
    • 17
  • h

    Haider Abbas

    09/17/2021, 7:22 PM
    Hey Folks!, I am looking for some advice to secure PHI Data (as per HIPPA Compliance) which is submitted in referral form through 
    Web_App(AWS S3)/Mobile_Apps(App/Play Store)
     using 
    App_Server(API Layer deployed on AWS EC2)
     and finally it will be stored in 
    DB_Server(AWS RDS)
    . Storage and retrieval of data will be completely secured (or 
    Encryption
    , 
    2FA
     etc) whether is in transit or at rest. Except 
    Mobile_Apps(App/Play store)
     all components will be deployed within 
    AWS Infrastructure
    . May be some of you guys gone through this security scenario. Any ideas/suggestions on how could i achieve this? Great Thanks for your precious time!
    t
    • 2
    • 5
  • s

    Sam Hulick

    09/22/2021, 3:27 PM
    hey folks! just wanted to share my new favorite thing: https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client IMO, Postman is too busy & cluttered if you just want to use it as a client to test your API. I was using Insomnia for a long time, then I tried their cloud sync feature and now it nags me every time I use it that my trial is over. Thunder Client runs within VS Code, and I can point it to Dropbox for its config files so it syncs to all my computers. 🙌
    a
    r
    g
    • 4
    • 7
  • t

    thdxr

    09/23/2021, 3:08 AM
    Can someone do me a favor and run npm or yarn install
    aws-lambda-ric
    - does it take a super long time for you?
    y
    • 2
    • 4
  • s

    Sam Hulick

    09/23/2021, 10:34 PM
    wow, this is probably the first time I’ve seen a real word in a UUID. this one is pretty hot 😄
    Copy code
    c00d2134-121c-40b7-babe-f7be4298df88
    t
    f
    +3
    • 6
    • 8
12345...10Latest