There was an error while loading. Please reload this page.
1 parent 8a7e932 commit 65d0164Copy full SHA for 65d0164
main.tf
@@ -1,5 +1,5 @@
1
data "template_file" "kms_policy" {
2
- template = "${file("${path.module}/kms_policy.json.tpl")}"
+ template = "${file("${kms_policy.json.tpl")}"
3
4
vars {
5
account_id = "${var.account_id}"
@@ -9,3 +9,10 @@ data "template_file" "kms_policy" {
9
resource "aws_kms_key" "key" {
10
policy = "${data.template_file.kms_policy.rendered}"
11
}
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