lib/terraforming/template/tf/iam_user.erb in terraforming-0.2.0 vs lib/terraforming/template/tf/iam_user.erb in terraforming-0.3.0
- old
+ new
@@ -1,6 +1,6 @@
<% iam_users.each do |user| -%>
-resource "aws_iam_user" "<%= user.user_name %>" {
+resource "aws_iam_user" "<%= module_name_of(user) %>" {
name = "<%= user.user_name %>"
path = "<%= user.path %>"
}
<% end -%>