lib/terraforming/template/tf/iam_role.erb in terraforming-0.1.4 vs lib/terraforming/template/tf/iam_role.erb in terraforming-0.1.5
- old
+ new
@@ -1,10 +1,10 @@
<% iam_roles.each do |role| -%>
resource "aws_iam_role" "<%= role.role_name %>" {
name = "<%= role.role_name %>"
path = "<%= role.path %>"
assume_role_policy = <<POLICY
-<%= prettify_policy(role.assume_role_policy_document) %>
+<%= prettify_policy(role.assume_role_policy_document, unescape: true) %>
POLICY
}
<% end -%>