DOC: Provided sample KMS key policy for reference
This commit is contained in:
parent
9371ec8e5b
commit
d56e02214d
@ -11,6 +11,25 @@ This module sets up event rule and sns notification. Deliver email notifications
|
|||||||
|
|
||||||
An error occurred (ValidationException) when calling the PutAccountConfiguration operation: Days before expiry cannot be over 45.
|
An error occurred (ValidationException) when calling the PutAccountConfiguration operation: Days before expiry cannot be over 45.
|
||||||
```
|
```
|
||||||
|
* KMS key for SNS must allow events.amazonaws.com. Check that this statement is present in the KMS key policy. Otherwise you will get FailedInvocation in event rule graph and there is no other debug info.
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"Sid": "Allow publish from events",
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Principal": {
|
||||||
|
"Service": "events.amazonaws.com"
|
||||||
|
},
|
||||||
|
"Action": [
|
||||||
|
"kms:Encrypt",
|
||||||
|
"kms:Decrypt",
|
||||||
|
"kms:ReEncrypt*",
|
||||||
|
"kms:GenerateDataKey*",
|
||||||
|
"kms:DescribeKey"
|
||||||
|
],
|
||||||
|
"Resource": "*"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Sample Event bridge event
|
## Sample Event bridge event
|
||||||
```json
|
```json
|
||||||
|
Loading…
Reference in New Issue
Block a user