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..."
This commit is contained in:
parent
dd6af369af
commit
c42d987788
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,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),
|
template_parameters=dict(required=True, type='dict'),
|
||||||
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),
|
||||||
|
|
Loading…
Reference in a new issue