We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce29d2 commit cb34c8dCopy full SHA for cb34c8d
1 file changed
infrastructure/modules/kms/main.tf
@@ -40,12 +40,12 @@ data "aws_iam_policy_document" "key_policy" {
40
41
condition {
42
test = "ArnLike"
43
- values = ["arn:aws:logs:${data.aws_region.current.id}:${data.aws_caller_identity.current.account_id}:log-group:*"]
+ values = ["arn:aws:logs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:log-group:*"]
44
variable = "kms:EncryptionContext:aws:logs:arn"
45
}
46
47
principals {
48
- identifiers = ["logs.${data.aws_region.current.id}.amazonaws.com"]
+ identifiers = ["logs.${data.aws_region.current.region}.amazonaws.com"]
49
type = "Service"
50
51
0 commit comments