Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 23, 2023
1 parent 13e2613 commit cce1b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam-general-policies/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ resource "aws_iam_policy" "general" {
name = format("%vinf-%v", lookup(local._prefixes, "policy", ""), each.value["name"])
path = lookup(each.value, "path", "/")
description = lookup(each.value, "description", "${each.key} policy")
policy = each.value["policy"]
policy = lookup(each.value, "policy", null)

tags = merge(
var.tags,
Expand Down

0 comments on commit cce1b11

Please sign in to comment.