Skip to content

Commit 1a85243

Browse files
committed
fix: Key policy template path.
1 parent 462503d commit 1a85243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "aws_kms_key" "bucket" {
44
description = "Encryption key for bucket ${local.bucket_name}"
55
deletion_window_in_days = var.key_recovery_period
66
enable_key_rotation = true
7-
policy = templatefile("${path.module}/templates/key-policy.json.tftpl", {
7+
policy = templatefile("${path.module}/templates/key-policy.yaml.tftpl", {
88
account : data.aws_caller_identity.identity.account_id
99
bucket : local.bucket_name
1010
partition : data.aws_partition.current.partition

0 commit comments

Comments
 (0)