Accept JSON type as the content of policy_json parameter on iam_policy module

This commit is contained in:
Ryan S. Brown 2016-09-21 15:04:09 -04:00
parent cb9fc47cbc
commit 0f505378c3

View file

@ -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)
))