|
|
@ -38,8 +38,8 @@ options:
|
|
|
|
template_parameters:
|
|
|
|
template_parameters:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- a list of hashes of all the template variables for the stack
|
|
|
|
- a list of hashes of all the template variables for the stack
|
|
|
|
required: true
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: {}
|
|
|
|
aliases: []
|
|
|
|
aliases: []
|
|
|
|
region:
|
|
|
|
region:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -181,7 +181,7 @@ def main():
|
|
|
|
module = AnsibleModule(
|
|
|
|
module = AnsibleModule(
|
|
|
|
argument_spec=dict(
|
|
|
|
argument_spec=dict(
|
|
|
|
stack_name=dict(required=True),
|
|
|
|
stack_name=dict(required=True),
|
|
|
|
template_parameters=dict(required=True, type='dict'),
|
|
|
|
template_parameters=dict(required=False, type='dict', default={}),
|
|
|
|
region=dict(aliases=['aws_region', 'ec2_region'], required=True, choices=AWS_REGIONS),
|
|
|
|
region=dict(aliases=['aws_region', 'ec2_region'], required=True, choices=AWS_REGIONS),
|
|
|
|
state=dict(default='present', choices=['present', 'absent']),
|
|
|
|
state=dict(default='present', choices=['present', 'absent']),
|
|
|
|
template=dict(default=None, required=True),
|
|
|
|
template=dict(default=None, required=True),
|
|
|
|