New Boto3-only requirement for new AWS modules

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

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.

Thanks Matt,

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

Cheers,
Pierre

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

Regards,
John Barker