Closed
Description
Describe the bug
After updating the logConfigurations array, from cognit.CfnLogDeliveryConfiguration, with a new LogConfiguration and updating and older one to point to new log group, I got this error
- The ERROR log group is the one I updated the log arn
- The INFO log group is the one I added
The ARN is built by hand because of this other issue I discovered. It works, don't worry.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
never worked
Expected Behavior
- old LogConfiguration should have had its logs group updated without throw any errors
Current Behavior
- can't update LogConfiguration entries
Reproduction Steps
- create CfnLogDeliveryConfiguration with 1 LogConfiguration of ERROR and eventSource UserNotification
- deploy
- update the LogGroup and its ARN in this LogConfiguration you just deployed
- deploy
- verify that it wont be updated and the same error will be thrown
Possible Solution
Log group configuration has to be deleted before new one can be created.
Additional Information/Context
No response
CDK CLI Version
2.154.0
Framework Version
2.154.0
Node.js Version
18.19
OS
macos
Language
TypeScript
Language Version
5.0.4
Other information
No response