lib/terraforming/resource/iam_role.rb in terraforming-0.1.4 vs lib/terraforming/resource/iam_role.rb in terraforming-0.1.5
- old
+ new
@@ -21,10 +21,11 @@
def tfstate
iam_roles.inject({}) do |resources, role|
attributes = {
"arn" => role.arn,
- "assume_role_policy" => prettify_policy(role.assume_role_policy_document, true),
+ "assume_role_policy" =>
+ prettify_policy(role.assume_role_policy_document, breakline: true, unescape: true),
"id" => role.role_name,
"name" => role.role_name,
"path" => role.path,
"unique_id" => role.role_id,
}