Skip to content

Commit

Permalink
change name
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 24, 2022
1 parent 7c4e917 commit 1abe503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ resource "aws_iam_user_policy_attachment" "user_policy" {

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

0 comments on commit 1abe503

Please sign in to comment.