Mendel Lerner
03/25/2022, 8:23 PM2022-03-25T16:19:13.067-04:00 START RequestId: 31bcc1ae-8648-4f40-84c5-a2574533fe58 Version: $LATEST
2022-03-25T16:19:13.156-04:00 2022-03-25T20:19:13.097Z 31bcc1ae-8648-4f40-84c5-a2574533fe58 INFO connectAndSendMessage()
2022-03-25T16:19:18.076-04:00 END RequestId: 31bcc1ae-8648-4f40-84c5-a2574533fe58
2022-03-25T16:19:18.076-04:00 REPORT RequestId: 31bcc1ae-8648-4f40-84c5-a2574533fe58 Duration: 5007.89 ms Billed Duration: 5000 ms Memory Size: 128 MB Max Memory Used: 80 MB Init Duration: 469.73
Any ideas for what to troubleshoot?Mendel Lerner
03/25/2022, 8:24 PMStacks: Deploying completed.
but doesn't resume the live environment.Adrian Schweizer
03/25/2022, 11:11 PMRob N
03/25/2022, 11:58 PMsumitavo biswas
03/26/2022, 12:38 PMSam Hulick
03/26/2022, 6:33 PMhandler: 'presentation/server.handler',
, wil SST look for server.js
in addition to server.ts
if the latter doesn’t exist?Boris Tane
03/26/2022, 8:19 PMAdrián Mouly
03/28/2022, 5:40 AMDistribution
from CFront with CDK, but my domainName
is not owned by my AWS account, it’s “external” to Route53.
Using CDK construct, I’m getting errors… but on SST, when deployed StaticWebsite
there is a property `isExternalDomain`…
HOW I can replicate the same behavior from SST but with CDK?AS
03/28/2022, 9:26 AMYohann B
03/28/2022, 2:04 PMPavan Kumar
03/28/2022, 3:54 PMprivateZone:undefined, vpcId:undefined, but wanted exactly 1 zone
Bshr Ramadan
03/28/2022, 5:13 PMcdk
and another things.
Now I am trying to deploy again and getting this error on deploying debug stack:
fail: No bucket named 'cdk-hnb659fds-assets-7027#####81-us-east-1'. Is account 7027####781 bootstrapped?
So should I delete cdk-toolkit
stack from aws because it has been corrupted?Frank Faubert
03/28/2022, 6:47 PMRob N
03/28/2022, 9:50 PM/stacks/index.ts
app.setDefaultFunctionProps({
runtime: lambda.Runtime.NODEJS_14_X,
environment: {
SSM_PREFIX: `/${ssmStage}/`,
SSM_SHARED_PREFIX: `/${ssmStage}/shared/`,
},
});
Looking to access the SSM_PREFIX
in stack definitions, or should I be just passing them in via props?Bshr Ramadan
03/28/2022, 11:52 PMNextJsSite
construct resources? I have a high billing in cloudwatch and want to configure retention to reduce it
I used app.setDefaultFunctionProps
but it's not changing the logs of nextjsSiteleonard
03/29/2022, 1:38 AMTony J
03/30/2022, 1:59 AMRoberto Salim
03/30/2022, 3:23 AM"GET /v2/": "src/handlers/getItem/index.handler",
Prior to this I only have 1 POST endpoint and it was working fine, and after adding this line I always have this error:
dev-roberto-api | CREATE_FAILED | AWS::Lambda::Function | apiLambdaPOSTv2new9C13E3AA | dev-roberto-api-index already exists in stack arn:aws:cloudformation:ap-southeast-1:352681053372:stack/dev-roberto-api/62bc2690-afd7-11ec-8c9b-0a3affc3188a
dev-roberto-api | CREATE_FAILED | AWS::Lambda::Function | apiLambdaGETv205ED50C9 | Resource creation cancelled
Does anyone know why or how to resolve this?
Thanks in advance! 🙏Ash Rhazaly
03/30/2022, 7:41 AMError: There is already a Construct with name 'SecretFromCompleteArn' in ApiStack
private getSecrets(ssmString: string): string {
const secretsManagerArn = StringParameter.valueForStringParameter(this, ssmString);
const { secretValue } = Secret.fromSecretCompleteArn(
this,
"SecretFromCompleteArn",
secretsManagerArn
);
return secretValue.toString();
}
const api = new sst.ApiGatewayV1Api(this, "api", {
defaultFunctionProps: {
environment: {
...database.environments(),
CREDENTIALS_ONE: this.getSecrets(ssmString1),
CREDENTIALS_TWO: this.getSecrets(ssmString2),
NODE_ENV: stage,
},
},
Meris Tarhanis
03/30/2022, 11:27 AMArtemiy Davydov
03/30/2022, 1:01 PMRobert Chandler
03/30/2022, 1:10 PMMeris Tarhanis
03/30/2022, 2:20 PMSlackbot
03/30/2022, 2:38 PMAdrian Schweizer
03/30/2022, 2:53 PMAndrew Blaney
03/30/2022, 6:04 PMpnpm
with v0.69.3
? sst build
seems to be broken due to this change (code dump in thread)!Jacob Hogenkamp
03/30/2022, 6:11 PMprovider:
environment:
myTableName: ${cf:myOtherService-${self:provider.stage}.TableName}
Then I dereference myTableName
from process.env
within the lambda.
What is the best way to do this within SST?Adrián Mouly
03/30/2022, 10:23 PMSteven Baker
03/31/2022, 11:40 AMMeris Tarhanis
03/31/2022, 12:30 PM