lib/terraforming/template/tf/iam_policy.erb in terraforming-0.7.0 vs lib/terraforming/template/tf/iam_policy.erb in terraforming-0.8.0

- old
+ new

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