Merge pull request #3117 from beamly/fix-ec2-group
Fixes #3109: Executing ec2_group with rules fails with "Inval…
This commit is contained in:
commit
37d978fa1c
1 changed files with 6 additions and 6 deletions
|
@ -233,12 +233,12 @@ def get_target_from_rule(module, ec2, rule, name, group, groups, vpc_id):
|
||||||
def main():
|
def main():
|
||||||
argument_spec = ec2_argument_spec()
|
argument_spec = ec2_argument_spec()
|
||||||
argument_spec.update(dict(
|
argument_spec.update(dict(
|
||||||
name=dict(required=True),
|
name=dict(type='str', required=True),
|
||||||
description=dict(required=True),
|
description=dict(type='str', required=True),
|
||||||
vpc_id=dict(),
|
vpc_id=dict(type='str'),
|
||||||
rules=dict(),
|
rules=dict(type='list'),
|
||||||
rules_egress=dict(),
|
rules_egress=dict(type='list'),
|
||||||
state = dict(default='present', choices=['present', 'absent']),
|
state = dict(default='present', type='str', choices=['present', 'absent']),
|
||||||
purge_rules=dict(default=True, required=False, type='bool'),
|
purge_rules=dict(default=True, required=False, type='bool'),
|
||||||
purge_rules_egress=dict(default=True, required=False, type='bool'),
|
purge_rules_egress=dict(default=True, required=False, type='bool'),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue