lib/terraforming/template/tf/iam_policy.erb in terraforming-0.12.0 vs lib/terraforming/template/tf/iam_policy.erb in terraforming-0.13.0

- old
+ new

@@ -1,7 +1,7 @@ <% iam_policies.each do |policy| -%> <%- version = iam_policy_version_of(policy) -%> -resource "aws_iam_policy" "<%= policy.policy_name %>" { +resource "aws_iam_policy" "<%= module_name_of(policy) %>" { name = "<%= policy.policy_name %>" path = "<%= policy.path %>" description = "<%= iam_policy_description(policy) %>" policy = <<POLICY <%= prettify_policy(version.document, unescape: true) %>