Skip to content

Commit 65d0164

Browse files
authored
Update main.tf
1 parent 8a7e932 commit 65d0164

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: main.tf

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
data "template_file" "kms_policy" {
2-
template = "${file("${path.module}/kms_policy.json.tpl")}"
2+
template = "${file("${kms_policy.json.tpl")}"
33
44
vars {
55
account_id = "${var.account_id}"
@@ -9,3 +9,10 @@ data "template_file" "kms_policy" {
99
resource "aws_kms_key" "key" {
1010
policy = "${data.template_file.kms_policy.rendered}"
1111
}
12+
13+
resource "aws_cloudwatch_log_group" "yada" {
14+
name = "vijay"
15+
16+
kms_key_id = aws_kms_key.key.arn
17+
18+
}

0 commit comments

Comments
 (0)