You try to store a secret, but you see this message:
"Your secret was created successfully but configuring rotation has failed
Secrets Manager cannot invoke the specified Lambda function. Ensure that the function policy grants access to the principal secretsmanager.amazonaws.com. "
What do you do?
Try this posting.