File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
terraform/account-wide-infrastructure Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,14 @@ resource "aws_kms_key" "backup_notifications" {
103103 Action = [" kms:GenerateDataKey*" , " kms:Decrypt" ]
104104 Resource = " *"
105105 },
106+ {
107+ Effect = " Allow"
108+ Principal = {
109+ Service = " backup.amazonaws.com"
110+ }
111+ Action = [" kms:GenerateDataKey*" , " kms:Decrypt" ]
112+ Resource = " *"
113+ },
106114 ]
107115 })
108116}
Original file line number Diff line number Diff line change @@ -103,6 +103,14 @@ resource "aws_kms_key" "backup_notifications" {
103103 Action = [" kms:GenerateDataKey*" , " kms:Decrypt" ]
104104 Resource = " *"
105105 },
106+ {
107+ Effect = " Allow"
108+ Principal = {
109+ Service = " backup.amazonaws.com"
110+ }
111+ Action = [" kms:GenerateDataKey*" , " kms:Decrypt" ]
112+ Resource = " *"
113+ },
106114 ]
107115 })
108116}
Original file line number Diff line number Diff line change @@ -103,6 +103,14 @@ resource "aws_kms_key" "backup_notifications" {
103103 Action = [" kms:GenerateDataKey*" , " kms:Decrypt" ]
104104 Resource = " *"
105105 },
106+ {
107+ Effect = " Allow"
108+ Principal = {
109+ Service = " backup.amazonaws.com"
110+ }
111+ Action = [" kms:GenerateDataKey*" , " kms:Decrypt" ]
112+ Resource = " *"
113+ },
106114 ]
107115 })
108116}
You can’t perform that action at this time.
0 commit comments