I'm running `sst start` for a new app and I receiv...
# help
r
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
Hey @Ross Coundon, which SST version are u on?
r
Hey Frank - 0.50.1
Clicking Retry in the console worked
f
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
Ok, cool. Thank you
f
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
Just posted an update on it - also has a code snippet you can copy paste to fix this @Ross Coundon 🙂
r
Great - I'll try that out, thank you
f
Added a comment to the GH issue.