https://serverless-stack.com/ logo
#help
Title
# help
r

Ross Coundon

10/27/2021, 11:05 PM
I'm running
sst start
for a new app and I received the error causing it to abort
Copy code
failed: Received response status [FAILED] from custom resource. Message returned: A conflicting operation is currently in progress against this resource. Please try again.
Looking at the Cloudformation console I can see that it's to do with a logRetention The console shows me these options with heading Stack rollback paused If I re-run
sst start
it starts up okay but the log retention isn't applied. Also, the outputs of the stack, like my API URL aren't output and are missing from the Cloudformation console too
Following this with
sst deploy
results in
Copy code
This stack is currently in a non-terminal [CREATE_FAILED] state. To update the stack from this state, please use the disable-rollback parameter with update-stack API. To rollback to the last known good state, use the rollback-stack API
f

Frank

10/27/2021, 11:13 PM
Hey @Ross Coundon, which SST version are u on?
r

Ross Coundon

10/27/2021, 11:14 PM
Hey Frank - 0.50.1
Clicking Retry in the console worked
f

Frank

10/27/2021, 11:18 PM
Ah I see. It seems
sst start
mistakenly skipped the deployment b/c the CFN template didn’t change. Let me put that down as a bug. Running
sst start
should’ve thrown the same error as
sst deploy
.
Yeah, either Retry/Update or Rollback should get you out of this situation.
r

Ross Coundon

10/27/2021, 11:19 PM
Ok, cool. Thank you
f

Frank

10/27/2021, 11:19 PM
As for the actual error, it’s something we are looking into https://github.com/serverless-stack/serverless-stack/issues/953
It’s a bug with how CDK configures the log group retention. This issue is more likely to happen the more functions you have.
We are looking into it!
g

Garret Harp

10/27/2021, 11:22 PM
Just posted an update on it - also has a code snippet you can copy paste to fix this @Ross Coundon 🙂
r

Ross Coundon

10/27/2021, 11:31 PM
Great - I'll try that out, thank you
f

Frank

10/27/2021, 11:55 PM
Added a comment to the GH issue.