lib/terraforming/template/tf/iam_policy.erb in terraforming-0.0.5 vs lib/terraforming/template/tf/iam_policy.erb in terraforming-0.1.0

- old
+ new

@@ -2,10 +2,10 @@ <%- version = iam_policy_version_of(policy) -%> resource "aws_iam_policy" "<%= policy.policy_name %>" { name = "<%= policy.policy_name %>" path = "<%= policy.path %>" policy = <<POLICY -<%= CGI.unescape(version.document).strip %> +<%= prettify_policy(version.document) %> POLICY } <% end -%>