Skip to content

Commit

Permalink
fix: Fix creation of inline polices (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
Engerim authored Jan 2, 2025
1 parent b80e98a commit 9ec4679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/iam-assumable-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,6 @@ resource "aws_iam_role_policy" "inline" {
count = local.create_iam_role_inline_policy ? 1 : 0

role = aws_iam_role.this[0].name
name_prefix = "${try(coalesece(var.role_name, var.role_name_prefix), "")}_inline_"
name_prefix = "${try(coalesce(var.role_name, var.role_name_prefix), "")}_inline_"
policy = data.aws_iam_policy_document.inline[0].json
}

0 comments on commit 9ec4679

Please sign in to comment.