lib/jets/resource/iam/base_role_definition.rb in jets-0.9.0 vs lib/jets/resource/iam/base_role_definition.rb in jets-0.9.1
- old
+ new
@@ -34,13 +34,13 @@
definition
end
def policy_document
- PolicyDocument.new(@policy_definitions.uniq).policy_document
+ PolicyDocument.new(@policy_definitions.flatten.uniq).policy_document
end
def managed_policy_arns
- ManagedPolicy.new(@managed_policy_definitions.uniq).arns
+ ManagedPolicy.new(@managed_policy_definitions.flatten.uniq).arns
end
end
end
\ No newline at end of file