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

Ross Coundon

12/09/2021, 8:50 PM
I remember a while back there was an issue with setting log retention values in defaultFunctionProps (or maybe in other ways too) i.e.
Copy code
app.setDefaultFunctionProps({
  logRetention: logs.RetentionDays.ONE_WEEK,
  ..
})
Since then we haven't tried setting the log retention but I just tried it again on v0.53.4 and I still see an error:
Copy code
The following resource(s) failed to create: [omwGetAllResourceConfigsLogRetention87CC9E7D, (and many others)]. 

Received response status [FAILED] from custom resource. Message returned: A conflicting operation is currently in progress against this resource. Please try again
Is this a known issue and is there a way around it?
d

Derek Kershner

12/09/2021, 9:33 PM
i have this implemented across the board and its working for me. it must be related to NOT having it and THEN setting it.
r

Ross Coundon

12/09/2021, 9:35 PM
I see, I wonder if there's a way to add it
6 Views