# AWS Elasticache error:  CacheSubnetGroupNotFoundFault ... not sure why

**URL:** <https://forum.ansible.com/t/aws-elasticache-error-cachesubnetgroupnotfoundfault-not-sure-why/22189>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [August 2, 2016, 2:52pm UTC](https://forum.ansible.com/t/aws-elasticache-error-cachesubnetgroupnotfoundfault-not-sure-why/22189 "2016-08-02T14:52:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.moretto](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@tom.moretto](https://forum.ansible.com/u/tom.moretto)\
**Post date:** [August 2, 2016, 2:52pm UTC](https://forum.ansible.com/t/aws-elasticache-error-cachesubnetgroupnotfoundfault-not-sure-why/22189/1 "2016-08-02T14:52:08Z")

</div>

I want to create an elasticache cluster group and I"m using the elasticache\_subnet\_group module.

Here is my role:

`

- name: Create ElastiCache Subnets

elasticache\_subnet\_group:

aws\_access\_key: “{{aws\_access\_key}}”

aws\_secret\_key: “{{aws\_secret\_key}}”

state: present

region: us-east-1

name: dev-elasticache01

description: Dev ElastiCache

subnets:

- subnet-io98nm23

- subnet-pox9mn33

- subnet-abc32bers

- subnet-9ipn34dfts

`

Here is the error ansible tower spits back at me:

`fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "{\"Error\":{\"Code\":\"CacheSubnetGroupNotFoundFault\",\"Message\":\"Cache subnet group dev-elasticache01 not found.\",\"Type\":\"Sender\"},\"RequestId\":\"a22c51d6-58bf-11e6-825d-199b079ec907\"}"}`

Can someone help me figure this one out?

Thank you.

---

<div class="post-metadata">

**Author:** ![tom.moretto](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@tom.moretto](https://forum.ansible.com/u/tom.moretto)\
**Post date:** [August 2, 2016, 3:16pm UTC](https://forum.ansible.com/t/aws-elasticache-error-cachesubnetgroupnotfoundfault-not-sure-why/22189/2 "2016-08-02T15:16:27Z")

</div>

Let me clear up a misstatement … I would like to create an elasticcache subnet group …
