# ec2\_ami\_search module

**URL:** <https://forum.ansible.com/t/ec2-ami-search-module/16360>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [September 26, 2014, 2:52pm UTC](https://forum.ansible.com/t/ec2-ami-search-module/16360 "2014-09-26T14:52:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Palmieri](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@Peter\_Palmieri](https://forum.ansible.com/u/Peter_Palmieri)\
**Post date:** [September 26, 2014, 2:52pm UTC](https://forum.ansible.com/t/ec2-ami-search-module/16360/1 "2014-09-26T14:52:27Z")

</div>

Starting an EC2 instance based off of an AMI returned from the ec2\_ami\_search module. I’m trying to use an EBS SSD backed instance. The documentation shows ebs, ebs-io1, ebs-ssd, and instance-store as options.

A fragment of my playbook:

- name: get the latest Ubuntu 14.04 AMI  
ec2\_ami\_search: distro=ubuntu  
release=trusty  
store=ebs-ssd  
arch=amd64  
virt=hvm  
register: ubuntu\_image

This returns:

failed: [localhost] =\> {“failed”: true}  
msg: value of store must be one of: ebs,instance-store, got: ebs-ssd

What am I doing wrong here? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [September 26, 2014, 7:50pm UTC](https://forum.ansible.com/t/ec2-ami-search-module/16360/2 "2014-09-26T19:50:47Z")

</div>

Hi Peter, can you share which version of Ansible you’re running? It appears that those options were added in the development branch of Ansible, and will only be available in 1.8+. The documentation does appear to be missing a note to that effect.

Thanks!

---

<div class="post-metadata">

**Author:** ![Peter\_Palmieri](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@Peter\_Palmieri](https://forum.ansible.com/u/Peter_Palmieri)\
**Post date:** [September 26, 2014, 7:54pm UTC](https://forum.ansible.com/t/ec2-ami-search-module/16360/3 "2014-09-26T19:54:58Z")

</div>

Thanks James, that makes sense. I’m on 1.7.2. I’ll check out the dev branch.
