# New Boto3-only requirement for new  AWS modules

**URL:** <https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379>\
**Category:** Ansible Developer\
**Tags:** aws\
**Created:** [May 7, 2016, 2:06pm UTC](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379 "2016-05-07T14:06:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjodouin](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@pjodouin](https://forum.ansible.com/u/pjodouin)\
**Post date:** [May 7, 2016, 2:06pm UTC](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379/1 "2016-05-07T14:06:33Z")

</div>

Hi all,

My Lambda modules have been sitting in community\_review long enough that they no longer build. I’ve written them with Boto3 but had to include boto as they would not compile otherwise due to some dependancy in the EC2 utils. I haven’t had time yet to dig into this but was wondering if I could get a quick answer to this problem here.

Thanks!  
Pierre

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [May 7, 2016, 5:23pm UTC](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379/2 "2016-05-07T17:23:57Z")

</div>

ansible.module\_utils.ec2 should have no strict dependency on boto. The import logic there should allow a module that only uses boto3 to work without issue.

Perhaps you are not using an up to date version of ansible? Generally speaking you should develop new modules against ansible devel.

---

<div class="post-metadata">

**Author:** ![pjodouin](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@pjodouin](https://forum.ansible.com/u/pjodouin)\
**Post date:** [May 7, 2016, 7:54pm UTC](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379/3 "2016-05-07T19:54:54Z")

</div>

Thanks Matt,

That was indeed my problem. I was testing it under a released branch instead of devel.

Cheers,  
Pierre

---

<div class="post-metadata">

**Author:** ![gundalow](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gundalow/32/99_2.png) [@gundalow](https://forum.ansible.com/u/gundalow)\
**Post date:** [May 9, 2016, 6:48pm UTC](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379/4 "2016-05-09T18:48:46Z")

</div>

If you add @gundalow on the github PRs I can take a look and review them.

Regards,  
John Barker
