From 0f505378c3be908d322b89717cbab5f7625f8969 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Wed, 21 Sep 2016 15:04:09 -0400 Subject: [PATCH] Accept JSON type as the content of policy_json parameter on `iam_policy` module --- cloud/amazon/iam_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/iam_policy.py b/cloud/amazon/iam_policy.py index e1cc6b305c9..559ad3c4fda 100644 --- a/cloud/amazon/iam_policy.py +++ b/cloud/amazon/iam_policy.py @@ -282,7 +282,7 @@ def main(): iam_name=dict(default=None, required=False), policy_name=dict(default=None, required=True), policy_document=dict(default=None, required=False), - policy_json=dict(default=None, required=False), + policy_json=dict(type='json', default=None, required=False), skip_duplicates=dict(type='bool', default=True, required=False) ))