|
|
@ -64,15 +64,14 @@ except ImportError:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
def main():
|
|
|
|
module = AnsibleModule(
|
|
|
|
argument_spec = ec2_argument_spec()
|
|
|
|
argument_spec=dict(
|
|
|
|
argument_spec.update(dict(
|
|
|
|
zone=dict(required=True),
|
|
|
|
zone=dict(required=True),
|
|
|
|
state=dict(default='present', choices=['present', 'absent']),
|
|
|
|
state=dict(default='present', choices=['present', 'absent']),
|
|
|
|
vpc_id=dict(default=None),
|
|
|
|
vpc_id=dict(default=None),
|
|
|
|
vpc_region=dict(default=None),
|
|
|
|
vpc_region=dict(default=None),
|
|
|
|
comment=dict(default=''),
|
|
|
|
comment=dict(default='')))
|
|
|
|
)
|
|
|
|
module = AnsibleModule(argument_spec=argument_spec)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if not HAS_BOTO:
|
|
|
|
if not HAS_BOTO:
|
|
|
|
module.fail_json(msg='boto required for this module')
|
|
|
|
module.fail_json(msg='boto required for this module')
|
|
|
|