Skip to content

Commit

Permalink
templating policy json
Browse files Browse the repository at this point in the history
  • Loading branch information
sekka1 committed Sep 21, 2021
1 parent 16d842d commit 97da446
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ data "template_file" "iam_policy" {
resource "aws_iam_policy" "cluster_autoscaler" {
name_prefix = "${local.base_name}-${var.environment_name}"
description = "${local.base_name} for ${var.environment_name}"
policy = file("${path.module}/${local.iam_policy_file}")
policy = data.template_file.iam_policy.rendered
}

#
Expand Down

0 comments on commit 97da446

Please sign in to comment.