aws-logs: KMS Policy Not Updated When Using KMS CMK #28304
Labels
@aws-cdk/aws-logs
Related to Amazon CloudWatch Logs
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
From reading the docs, using a KMS CMK with a Log Group should involve just passing the key to the Log Group. However, when doing that alone, KMS lacks the required permission to interact with Logs.
Expected Behavior
For the
LogGroup
Construct to automatically set the required permissions to interact with KMS when a KMS CMK key is passed to it.Current Behavior
Reproduction Steps
Possible Solution
When passing a KMS CMK to a
LogGroup
, automatically grant the necessary permissions to thelogs.amazonaws.com
Service Principal.Additional Information/Context
No response
CDK CLI Version
2.114.1
Framework Version
No response
Node.js Version
18.16.0
OS
Mac
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: