lib/terraforming/resource/iam_policy.rb in terraforming-0.1.4 vs lib/terraforming/resource/iam_policy.rb in terraforming-0.1.5
- old
+ new
@@ -24,10 +24,10 @@
version = iam_policy_version_of(policy)
attributes = {
"id" => policy.arn,
"name" => policy.policy_name,
"path" => policy.path,
- "policy" => prettify_policy(version.document, true),
+ "policy" => prettify_policy(version.document, breakline: true, unescape: true),
}
resources["aws_iam_policy.#{policy.policy_name}"] = {
"type" => "aws_iam_policy",
"primary" => {
"id" => policy.arn,