Migrate to @aws-cdk/aws-lambda:useCdkManagedLogGroup: true #35747
Unanswered
MurraySpeight
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a documented process to migrate over to using the flag
@aws-cdk/aws-lambda:useCdkManagedLogGroup: trueWhen I turn this on in a stack already deployed I get errors that the log group already exists. If I delete the log group and try again then I get errors relating to the metrics filter not being found.
"Resource of type 'AWS::Logs::LogGroup' with identifier '{"/properties/LogGroupName":"/aws/lambda/my-stack-name-MyLambda-abcdef12345"}' already exists."This flag seems valuable to have turned on but it seems difficult to migrate over to.
Beta Was this translation helpful? Give feedback.
All reactions