Skip to content

Commit

Permalink
add data. to kms alias
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 31, 2021
1 parent 521fd92 commit 0306a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ses-domain/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data "aws_iam_policy_document" "ses_event" {
"kms:GenerateDataKey*",
"kms:Decrypt",
]
resources = [aws_kms_alias.sns.arn]
resources = [data.aws_kms_alias.sns.arn]
principals {
type = "Service"
identifiers = ["ses.amazonaws.com"]
Expand Down

0 comments on commit 0306a42

Please sign in to comment.