|
|
@ -433,7 +433,7 @@ def main():
|
|
|
|
stack_params['StackPolicyBody'] = open(module.params['stack_policy'], 'r').read()
|
|
|
|
stack_params['StackPolicyBody'] = open(module.params['stack_policy'], 'r').read()
|
|
|
|
|
|
|
|
|
|
|
|
template_parameters = module.params['template_parameters']
|
|
|
|
template_parameters = module.params['template_parameters']
|
|
|
|
stack_params['Parameters'] = [{'ParameterKey':k, 'ParameterValue':v} for k, v in template_parameters.items()]
|
|
|
|
stack_params['Parameters'] = [{'ParameterKey':k, 'ParameterValue':str(v)} for k, v in template_parameters.items()]
|
|
|
|
|
|
|
|
|
|
|
|
if isinstance(module.params.get('tags'), dict):
|
|
|
|
if isinstance(module.params.get('tags'), dict):
|
|
|
|
stack_params['Tags'] = ansible.module_utils.ec2.ansible_dict_to_boto3_tag_list(module.params['tags'])
|
|
|
|
stack_params['Tags'] = ansible.module_utils.ec2.ansible_dict_to_boto3_tag_list(module.params['tags'])
|
|
|
|