Quantcast
Channel: SST Forums - Latest topics
Browsing all 33 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Amplify Auth error

Hi. I’m following the Guide and I hit this error that I’m not sure how to solve when I get to chapter13, Login with AWS Cognito Loging with AWS Cognito I get the error below the provided links in the...

View Article



A way to quickly redeploy lambda scripts with live dev disabled

Hi. Is there a way to quickly redeploy the scripts for lambdas without having to have live dev enabled? I’m optimising a lambda function and I need the code to be running on AWS, not locally but I’d...

View Article

SST AWS Aurora Serverless V2 Postgres

I’d like to use the SST framework to build, test and deploy a lambda function that uses AWS Aurora Serverless V2 Postgres as a persistence store but it seems like SST doesn’t support that version. Is...

View Article

Identify SST command in code

I want to conditionally run some code during stack setup depending on whether the command sst start, sst deploy or sst remove was executed. How do I know which command was executed? 3 posts - 2...

View Article

Middy.js Middleware must be an object containing at least one key among...

I’m trying to get started with Middy to validate input schema on AWS lambda. The lambda function below keeps throwing this error: Middleware must be an object containing at least one key among...

View Article


CDKToolkit: how to change the name of the stack

After issuing $ npx sst start I got this error message during the SSTBootstrap: The stack named CDKToolkit failed creation, it may need to be manually deleted from the AWS console Getting to the AWS...

View Article

How can I invoke routes without building event objects

Hey folks! I’d like to write some tests to ensure my functions are invoking correctly from the API, without having to either make actual internet-traversing API calls or manually constructing full...

View Article

How to send a web socket message from a cron lambda?

I’m following a couple of guides in sst website about cron jobs and web sockets. How to create a WebSocket API with serverless (sst.dev) How to use cron jobs in your serverless app (sst.dev) Here’s...

View Article


Image may be NSFW.
Clik here to view.

Testing authenticated functions

I’ve followed this example. SST How to add Cognito authentication to a serverless API In this example we will look at how to add Cognito User Pool authentication to a serverless API using SST. We'll...

View Article


Image may be NSFW.
Clik here to view.

SST Console - Stuck on Syncing metadata

Hello, really enjoying SST! I seem to be stuck on one one issue, the SST console is stuck on ‘Syncing metadata’… Network log shows this as failing POST...

View Article

Microfrontend Example

SST makes it easy to create/test/deploy a frontend with the supporting backend. An enterprise app will consist of multiple SST projects. Instead of having multiple frontends, it would be better to...

View Article

Block cli deploys to production

I’m starting work in a team environment for sst. Is there a way to block it so that other developers are not able to run sst deploy --stage prod from cli? I have code build pipeline that will deploy...

View Article

Accessing SSM Parameter in FrontendStack

Can I access a SSM Parameter in FrontendStack.js via Config to expose it in environment variables in React? Or is there another way to access SSM Parameters in frontend code? 1 post - 1 participant...

View Article


PHP / Laravel / Bref / SST

Have been looking to switch to PHP Laravel in a serverless architecture (Lambda, API Gateway, S3, CloudFront) past few weeks and move away from our current containerised setup. Really keen to use SST...

View Article

Image may be NSFW.
Clik here to view.

Same custom domain for multiple CRUD API's/Tables

I’m new to SST (and JavaScript) and have been getting by scratching around on the web. I am trying to create a repo where I create (IaC) all of my AWS DynamoDB Tables and their associated CRUD API’s....

View Article


Creating a CI/CD pipeline for Data / ETL

Has anyone used SST/CDK for setting up data pipelines? I imagine this will require things like Redshift, Glue etc. But, then how would any logic that’s defined in Glue be tested as part of the...

View Article

Setting breakpoints for Golang

Since sst do not support golang setting breakpoints yet, I need a way to debugging golang. install dlv setting launch.json { "version": "0.2.0", "configurations": [ { "name": "Debug Go Handler",...

View Article


How to invoke functions?

I want to know how to invoke functions defined in packages/functions in my NextJS application inside packages/web. Example: new Function(stack, 'my-function', { handler:...

View Article

Multiple Services within an SST Monorepo

The SST tutorial’s chapter on Organizing Serverless Project proposes an approach of separating our codebase into two repos: one SST repo with all the infra, and another repo for services which uses...

View Article

Create public note all users can see

Hey there, we saw how to create a list function that shows all the users notes, but i would like to create a public note so it will be listed to all the users. how can I achieve that? 1 post - 1...

View Article
Browsing all 33 articles
Browse latest View live


Latest Images