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 committed by Matt Clay
parent 61144f4da9
commit 93737f819a

View file

@ -280,7 +280,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)
))