<% iam_users.each do |user| -%> resource "aws_iam_user" "<%= module_name_of(user) %>" { name = "<%= user.user_name %>" path = "<%= user.path %>" } <% end -%>