[aws] Remove double-defined variable from iam_policy module

This commit is contained in:
Ryan S. Brown 2018-06-19 10:27:37 -04:00 committed by Jonathan Davila
parent 617093efa7
commit 52acec3455

View file

@ -286,7 +286,6 @@ def main():
if not HAS_BOTO:
module.fail_json(msg='boto required for this module')
state = module.params.get('state').lower()
iam_type = module.params.get('iam_type').lower()
state = module.params.get('state')
name = module.params.get('iam_name')