When upgrading SST from 0.53.0 to 0.53.2 I'm sudde...
# sst
r
When upgrading SST from 0.53.0 to 0.53.2 I'm suddenly seeing an error message when trying to deploy
Copy code
Resource handler returned message: "Resource of type 'AWS::Logs::LogGroup' with identifier '{"/properties/LogGroupName":"/aws/vendedlogs/apis/eon-prod-eon-imi-sms-EonImiApi-dmg1kotkti/default"}' was not found."
t
Hm I'm not sure what this is immediately
r
When reverting to 0.53.0 the error goes away
t
cc @Frank do you have any idea what could cause this
f
hmm.. lemme take a look at the changelog
Hey @Ross Coundon could you run an
sst build
on 0.53.0 and then on 0.53.2. And send me the generated templates inside
.build/cdk.out
for the
eon-imi-sms
stack?
This error seems to come from the CDK custom resource that’s setting the log retention on the API access log log group.
r
Thanks - Sent a DM
f
Hey @Ross Coundon, I’m looking at the logs you sent over, it doesn’t seem like you are setting the log retention on the Api access log log group.
Do you recall while updating which resource did the error happen? If you can still scroll up to fine the
sst deploy
log, you should see something like:
Copy code
dev-playground-script | UPDATE_FAILED | XXXXXXXXXX | YYYYYYYYYY | Resource handler returned message: "Resource of type 'AWS::Logs::LogGroup' with identifier '{"/properties/LogGroupName":"/aws/vendedlogs/apis/eon-prod-eon-imi-sms-EonImiApi-dmg1kotkti/default"}' was not found."
I need the Xs and Ys.
If the terminal output is no longer, u can get it from the CFN console, under the stack’s
Events
tab