make cloudformation module accept template_parameters from command line

Passing cloudformation template_parameters on the command line
like so was failing:

    ansible localhost -m cloudformation -a "...template_parameters=foo=5,bar=4..."
pull/4760/head
Brian Cavagnolo 12 years ago
parent 01ba1e9297
commit 869f32123b

@ -159,7 +159,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
stack_name=dict(required=True),
template_parameters=dict(required=True),
template_parameters=dict(required=True, type='dict'),
region=dict(aliases=['aws_region', 'ec2_region'], required=True, choices=AWS_REGIONS),
state=dict(default='present', choices=['present', 'absent']),
template=dict(default=None, required=True),

Loading…
Cancel
Save