Aram
09/21/2021, 8:08 PMcdk.Queue
to set the deadLetterQueue
on it to mySSTQueue.sqsQueue
but since I updating sst from 0.37.2 to 0.43.3 a lot of new typescript errors started to appear during the buildTheo Ferreira
09/22/2021, 4:52 AMSam Hulick
09/22/2021, 4:27 PMDan Van Brunt
09/22/2021, 5:11 PMIntegration Responses
in SST’s Api
.Alex Ketchum
09/22/2021, 8:30 PMoptimization: {
minimize: false
}
Dan Van Brunt
09/22/2021, 9:27 PMApi
targets using aws-proxy ? so we can directly target services? SNS, EventBridge etc?Yousef
09/23/2021, 2:39 AMpreview
cookie and bypassing the CDN and regenerate the page @ edge.Dan Van Brunt
09/23/2021, 2:11 PMApi
? I see the permissions but I can’t seem to figure out how that can translate to something like this…gio
09/23/2021, 2:14 PMSlackbot
09/23/2021, 2:14 PMDan Van Brunt
09/23/2021, 3:12 PMWarwick Grigg
09/23/2021, 5:44 PMSam Hulick
09/23/2021, 7:47 PMyarn start --stage dev
, it shows no changes in any stack or code. but if I quit that process and run yarn diff --stage dev
, it shows all kinds of changes. is there a way to see exactly what’ll change when running yarn start --stage dev
after making stack modifications?Roger Chi
09/23/2021, 8:16 PMOnly absolute URLs...
error in cloudwatch logs for the main site edge function) unless I also define a .env.local file within the frontend directoryWael Zoaiter
09/23/2021, 8:52 PM/api/graphql
in pages/api/graphql.js
I have Cognito auth middleware
When I do sst start
it works fine
but when I do sst deploy
I got 503
error
Any idea why I'm getting this pleasemathewgries
09/23/2021, 10:21 PMJon Holman
09/24/2021, 2:51 PMDan Van Brunt
09/24/2021, 3:24 PMProperty 'DeliveryStream' does not exist on type 'typeof...node_modules/@aws-cdk/aws-kinesisfirehose/lib/index
) and not appearing when editing.Dan Van Brunt
09/24/2021, 5:33 PMRoger Chi
09/24/2021, 6:42 PMTony J
09/24/2021, 11:30 PMSam Hulick
09/25/2021, 9:18 PMsst.Api
, is there any way to set the access log retention?Josimar Zimermann
09/26/2021, 1:23 AMsfn
and tasks
variable?Devin
09/26/2021, 6:50 PMnpx sst remove --stage prod
I get ✅ across the board.
When I run
npx sst deploy --stage prod
it tells me that my storage stack already exists.
I’m not at all sure how to trouble shoot this. Right now I’m basically just comparing my ApiStack vs the notes app one. Any superior ideas?Sam Hulick
09/27/2021, 1:31 AMlambda/billing/libs/update-subscription.ts:80:25 - error TS2571: Object is of type 'unknown'.
80 const cognitoUserId = response?.data?.updateSubscription?.user_id;
VS Code shows no problem with this line. earlier versions of SST are also ok with itBranko Gvoka
09/27/2021, 5:50 PMfromTopicArn
but cant figure out how to set the function/api to allow sns:Publish, I used to set default functio props to include in permissions [topic] 🙂
The error I get user with xxx cant publish to yyy topic
Thanks!Dan Van Brunt
09/27/2021, 6:54 PMWebhook -> Lambda -> EventBridge -> Kinesis Stream -> Kinesis Firehose -> S3 Bucket
It’s tracking a stream of user activity across a site and saving it to S3.
It’s missing 1-2 pieces but I’m not 100% sure how to work with firehose data in S3.
Essentially, each user “might” have an associated “owner” (we need to call out to check) and IF they do… we want to send that owner a daily digest of that user’s activity on the platform for proactive customer support.
Which services would be good to tac on the remaining functionality of parsing s3 data to get that day’s digest and send it out to the owners?Sam Hulick
09/27/2021, 11:04 PMDEBUG=rc:* yarn start
to get debugging messages for my own stuff, I get a fair amount of other debugging messages, because they’re just checking for the existence of process.env.DEBUG
. (to clarify, I’m using the npm debug
package which lets you namespace your stuff to get selective debugging messages)Sam Hulick
09/28/2021, 2:28 AMinfra/api/stacks/routes/public.ts:73:9 - error TS2322: Type 'PolicyStatement' is not assignable to type 'Permission'.
73 new iam.PolicyStatement({
~~~~~~~~~~~~~~~~~~~~~~~~~
74 effect: iam.Effect.ALLOW,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
81 resources: [props!.cognitoAuth.cognitoUserPool!.userPoolArn],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82 }),
Bshr Ramadan
09/28/2021, 7:06 PMlib/Api.js
?