Open
Description
Describe the bug
The following cloudformation guard rule fails https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-2-description
This is due to the fact that it is missing a SourceAccount in the service principal
A resource policy for rotation lambda is created here and this causes the cfn guard rule to fail.
Expected Behavior
I should be allowed to add or override the service principal created here, to address cfn guard rule failing
Current Behavior
I have no way to address the cloudformation guard rule, created due to this line
Reproduction Steps
add a rotation lambda to secrets manager, and run cdk cfn guard validator
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.104.0
Framework Version
No response
Node.js Version
v16.20.0
OS
mac
Language
TypeScript
Language Version
No response
Other information
No response