Andrew W
03/12/2021, 9:16 PMRoss Coundon
03/14/2021, 9:07 PMArtem Kalantai
03/15/2021, 9:07 AMSeth Geoghegan
03/15/2021, 5:08 PMArtem Kalantai
03/16/2021, 6:56 AMLoup Topalian
03/16/2021, 10:21 AMLoup Topalian
03/16/2021, 10:23 AMsst start
(like node_modules throwing typescript errors). Am i missing some configuration options ?Mike McCall
03/16/2021, 8:36 PMimport { expect, haveResource, SynthUtils } from '@aws-cdk/assert'
this is overwriting jests expect. Update expect from cdk to as expectCdk works.
import { expect as expectCDK, haveResource, SynthUtils } from '@aws-cdk/assert'
Pål Brattberg
03/17/2021, 8:57 AMHttpUserPoolAuthorizer
from existing userPoolClient
and userPool
? I cannot seem to find any fromArn
or similar methods in CDK for this.Pål Brattberg
03/17/2021, 8:49 PMMichael Wolfenden
03/18/2021, 10:21 PMMichael Wolfenden
03/18/2021, 11:33 PMname
field from the sst.json
from within the stackDrew
03/22/2021, 7:55 PM// Datadog's AWS CDK macro:
from aws_cdk import core
class CdkStack(core.Stack):
def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)
self.add_transform("DatadogCfnMacro")
mapping = core.CfnMapping(self, "Datadog",
mapping={
"Parameters": {
"enableDDTracing": true,
"flushMetricsToLogs": true,
"stackName": self.stackName,
"forwarderArn": "arn:aws:lambda:<REGION>:<ACCOUNT-ID>:function:datadog-forwarder",
"service": "my-cdk-app",
[...]
}
})
Seth Geoghegan
03/22/2021, 7:55 PMthdxr
03/23/2021, 1:03 PMthdxr
03/23/2021, 1:12 PMDmitry Pavluk
03/24/2021, 2:24 PMOmi Chowdhury
03/25/2021, 8:19 PMArtem Kalantai
03/26/2021, 12:39 PMIlia Reingold
03/26/2021, 5:07 PMgio
03/27/2021, 7:39 AMapi.dev.rt.parque.cloud already exists in stack arn:aws:cloudformation:us-east-1:834896107245:stack/dev-rt-test-api/47c3a270-8c5e-11eb-88a6-0ed5acf75591
The complete logs is inside this threadBma
03/28/2021, 6:31 PMPål Brattberg
03/29/2021, 10:53 AM'GET /root/sub'
could I do: 'GET /${myvar}/sub'
?
2. I would like to use a previously defined Function as the handler for a route, but can't seem to figure out the syntax. Is this possible?Mirco Cipriani
03/29/2021, 2:02 PMtr
03/29/2021, 4:46 PMMichael Wolfenden
03/29/2021, 11:36 PMConstruct
. What do I pass?
import * as sst from '@serverless-stack/resources'
import * as ssm from '@aws-cdk/aws-ssm'
export default class MyStack extends sst.Stack {
constructor(scope: <http://sst.App|sst.App>, id: string, props?: sst.StackProps) {
super(scope, id, props)
new ssm.StringParameter(
/* what do I pass here, it requires a Constuct */
)
}
Pål Brattberg
03/31/2021, 1:58 AMexisting: true
on the event.
Anybody have this working in SST? I found this bug in CDK which makes me think it wont work in SST as well... https://github.com/aws/aws-cdk/issues/2004
Any other ideas? Or should I just keep these functions in Serverless for now?Ross Coundon
03/31/2021, 4:05 PMYour request has been throttled by EC2, please make sure you have enough API rate limit. EC2 Error Code: RequestLimitExceeded. EC2 Error Message: Request limit exceeded
Anyone else seen this?Tony J
04/01/2021, 8:42 PM