Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 17, 2022
1 parent 347f9d8 commit 1d07555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ resource "aws_iam_user_policy_attachment" "user_policy" {


resource "aws_iam_user_policy" "user_policy" {
for_each = { for p in local.inline_policies : p.name => p.policy }
for_each = { for p in var.inline_policies : p.name => p.policy }
user = aws_iam_user.user.name
policy = each.value
}

0 comments on commit 1d07555

Please sign in to comment.