There was an error while loading. Please reload this page.
1 parent 811ad32 commit 6c88652Copy full SHA for 6c88652
main.tf
@@ -0,0 +1,11 @@
1
+data "template_file" "kms_policy" {
2
+ template = "${file("${path.module}/kms_policy.json.tpl")}"
3
+
4
+ vars {
5
+ account_id = "${var.account_id}"
6
+ }
7
+}
8
9
+resource "aws_kms_key" "key" {
10
+ policy = "${data.template_file.kms_policy.rendered}"
11
0 commit comments