Srivardhan Sunkesula
01/12/2021, 5:32 PMJason Pascoe
01/13/2021, 4:05 AMJason Pascoe
01/16/2021, 1:47 PMuserPool.addDomain('CognitoDomain', {
cognitoDomain: {
domainPrefix: 'airappauth',
},
});
The above works to add a subdomain to the hosted userpool login, but I'm having trouble using a custom domain.
I'm getting a linting error when trying to build.
import * as certificatemanager from "@aws-cdk/aws-certificatemanager";
const certificateArn = 'arn:aws:acm:us-east-1:xxx:certificate/xxx-4d67-4f23-bf36-xxx';
const domainCert = certificatemanager.Certificate.fromCertificateArn(this, 'domainCert', certificateArn);
console.log('certificateArn', domainCert.certificateArn);
userPool.addDomain('CustomDomain', {
customDomain: {
domainName: '<http://xxx.xxx.xxx|xxx.xxx.xxx>',
certificate: domainCert,
},
});
Chuck Carpenter
01/18/2021, 11:34 PMSeth Geoghegan
01/27/2021, 3:55 PMSeth Geoghegan
01/28/2021, 9:01 PMJay
Bma
02/06/2021, 8:37 AMPål Brattberg
02/08/2021, 10:19 AMBma
02/08/2021, 11:28 AMThere are no available API endpoints in your app. Please deploy a service with an API Gateway endpoint.
thdxr
02/11/2021, 7:24 PMPaulo
02/12/2021, 8:15 AMthdxr
02/12/2021, 5:12 PMnode_modules
to be available (some binary files)thdxr
02/12/2021, 5:53 PMsst build
doesn't respect eslintignoreJay
thdxr
02/15/2021, 7:13 PMWARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.1.0
YOUR TYPESCRIPT VERSION: 4.1.5
Please only submit bug reports when using the officially supported version.
gio
02/16/2021, 7:50 AMKaro
02/18/2021, 3:13 AMJulien Goux
02/18/2021, 1:16 PMFrank
sst start
) to access RDS, you’d need to setup VPN. The easier approach is placing RDS in public subnet and publically expose the port. The latter is easier and cheaper to setup. And the security takeoff I think is fine if you are developing in a separate AWS account.
• Yes, you can use ALL CDK constructs in SST.
• Yes, SST deploys directly to your AWS account. No 3rd party services in between. The added cost for SST is the communication between your local function and your Lambda function through a websocket API, which is neglegible and covered in the free tier. FYI, The pricing for AWS websocket API is $1 per 1M requests beyond free tier.Karo
02/19/2021, 9:20 PMexport default class APIStack extends sst.Stack {
constructor(scope: <http://sst.App|sst.App>, id: string, props?: sst.StackProps) {
super(scope, id, props);
// Create the HTTP API
const api = new sst.Api(this, "Api", {
defaultFunctionProps: {
runtime: lambda.Runtime.NODEJS_14_X,
},
routes: {
"GET /whoami": "src/api/lambda.whoami",
},
});
Karo
02/19/2021, 9:47 PMIbrahim Cesar
02/20/2021, 1:03 AMMichael Clifford
02/20/2021, 1:17 AMthdxr
02/23/2021, 5:02 AMFrank
#nodejs
npx create-serverless-stack@next my-sst-app
#typescript
npx create-serverless-stack@next my-sst-app --language typescript
To try the beta release in your existing project, simply update the following dependency version in your package.json
, and then run npm install
or yarn
.
"@serverless-stack/cli": "0.8.1-next.15",
"@serverless-stack/resources": "0.8.1-next.15",
This is not a break change, and the upgrade should be seamless. Let us know if you run into any issues.Ben Kraus
02/23/2021, 4:12 PMOleksii
02/24/2021, 3:44 PMname: 'TypeError',
message: 'context.getRemainingTimeInMillis is not a function',
stack: 'TypeError: context.getRemainingTimeInMillis is not a function\n' +
it looks like the context object which is sent to the handler function does not implement the Context interface. Does it makes sense to add a basic getRemainingTimeInMillis
method that returns a constant number to ensure that the context object conforms to the interface or there is a better way to solve this issue?thdxr
02/24/2021, 9:37 PMSeth Geoghegan
02/25/2021, 6:30 PM