elasticache subnet group

using the elasticache_subnet_group module and trying to populate the list of subnet ids using a variable but its only populating one of the ids. Here’s the task:

  • name: create elasticache subnet group
    elasticache_subnet_group:
    state: present
    name: “{{ Env }}-{{ nameCache }}”
    description: “{{ Env }}-{{ nameCache }}”
    subnets: “{{ item }}”
    region: “{{ aws_reg }}”
    with_items: “{{ subgrpids }}”

and the var is:
subgrpids:

But if I list the ids in the task it works properly.

using ansible 2.1