# Problem deploying with cloudformation module

**URL:** <https://forum.ansible.com/t/problem-deploying-with-cloudformation-module/15171>\
**Category:** Ansible Project\
**Created:** [May 6, 2014, 5:24pm UTC](https://forum.ansible.com/t/problem-deploying-with-cloudformation-module/15171 "2014-05-06T17:24:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_B](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@Jon\_B](https://forum.ansible.com/u/Jon_B)\
**Post date:** [May 6, 2014, 5:24pm UTC](https://forum.ansible.com/t/problem-deploying-with-cloudformation-module/15171/1 "2014-05-06T17:24:51Z")

</div>

I’m trying to use the ansible cloudformation module to setup a EC2 instance. When I run it through the cloudformation ansible module I get the following error.

TASK: [Create Cloud foundation Example] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
 REMOTE\_MODULE cloudformation stack\_name=“ansible-cloudformation” state=present region=eu-west-1 disable\_rollback=yes template=files/ec-layer.json

failed: [localhost] =\> {“failed”: true}  
msg: boolean must follow xsd1.1 definition

FATAL: all hosts have already failed – aborting

when I run the contents of files/ec-layer.json in the Cloudformation portal it loads correctly. I have increased the error logging however I can’t find anymore detail other than:

msg: boolean must follow xsd1.1 definition

I have searched google and have seen this message in the boto lists however I can’t seem to find anything that helps me solve the issue. Has anyone seen a similar issue before?

Thanks,

Jon

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [May 10, 2014, 12:10am UTC](https://forum.ansible.com/t/problem-deploying-with-cloudformation-module/15171/2 "2014-05-10T00:10:25Z")

</div>

We would probably need to the see the playbook and cloudformation file to understand more, but this almost sounds like it’s cloud formation yelling at you and already out of Ansible’s hands at this point?
