José Ribeiro
06/04/2021, 6:50 PM[50%] fail: No bucket named 'cdk-hnb659fds-assets-**-us-east-2'. Is account ** bootstrapped?
after nuking all the resources in my account and running sst start
. After getting this error, I tried running cdk bootstrap
and that worked just fine, but then running `sst start`would give the same error. Any idea of what could be going on here?Frank
CDK_NEW_BOOTSTRAP=true cdk bootstrap
José Ribeiro
06/04/2021, 7:03 PMCDK_NEW_BOOTSTRAP set, using new-style bootstrapping
⏳ Bootstrapping environment <aws://522343907950/us-east-2>...
Trusted accounts: 522343907950
Execution policies: arn:aws:iam::522343907950:policy/ScopePermissions
✅ Environment <aws://522343907950/us-east-2> bootstrapped (no changes).
✨ Done in 2.29s.
Frank
José Ribeiro
06/04/2021, 7:09 PMFrank
José Ribeiro
06/04/2021, 7:10 PMFrank
Frank
CDK_NEW_BOOTSTRAP=true cdk bootstrap
José Ribeiro
06/04/2021, 7:11 PMJosé Ribeiro
06/04/2021, 7:11 PMJosé Ribeiro
06/04/2021, 7:29 PMResource handler returned message: "Invalid request provided: Queue visibility timeout: 30 seconds is less than Function timeout: 900 seconds (Service: Lambda, Status Code: 400, Request ID: 9845a30e-6415-4522-a679-7372a3b20ea4, Extended Request ID: null)" (RequestToken: 5bcb9c53-ddfb-e580-3ada-301d21428746, HandlerErrorCode: InvalidRequest)
Frank
Frank
sst start
. So ppl have more time to debug using breakpoints.José Ribeiro
06/04/2021, 7:33 PMFrank
tries to create those resources againDo you mean the resources in the CDKToolkit or in ur app?
José Ribeiro
06/04/2021, 7:35 PMJosé Ribeiro
06/04/2021, 7:36 PMFrank
José Ribeiro
06/04/2021, 7:39 PMJosé Ribeiro
06/04/2021, 7:40 PMFrank
sst start
, under the Deploying app
section, do you see
... | UPDATE_IN_PROGRESS | AWS::CloudFormation::Stack | ...
for the stack that has the S3 bucket; or do you see
... | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | ...
Frank
José Ribeiro
06/04/2021, 8:07 PMFrank
sst start
. You can still use the --increase-timeout
flag to set the Lambda timeout to 900s. The flag will also automatically increase the queue visibility timeout to 900s to avoid the issue you ran into.Kevin Grimm
04/07/2022, 1:48 AMNo bucket named 'cdk-hnb659fds-assets-**-us-east-2'. Is account ** bootstrapped?
, I must have deleted the S3 bucket while clearing out some old stacks (the CDK Toolkit stack was still up). Deleted the stack, ran CDK_NEW_BOOTSTRAP=true cdk bootstrap
and looks to be resolved