route53 alias_hosted_zone_id

Hello guys,

I can use like:

`

>> Create the DNS load balancer to the instances

  • name: Creating DNS load balancer
    route53:
    command: create
    zone: “{{ domain }}”
    value: “{{ cluster }}-{{ item }}.{{ domain }}”
    alias: true
    alias_hosted_zone_id: “KLAIUDIAUHSINUD”
    identifier: “{{ cluster }}-{{ item }}”
    record: “{{ cluster }}.{{ domain }}”
    type: A
    overwrite: yes
    wait: yes
    weight: 10
    with_sequence: start={{ cluster_start }} end={{ cluster_end }} format=%02x
    `

But If i try to use alias_hosted_zone_id with a variable like:

alias_hosted_zone_id: "{{ hosted_zone_id }}"

I get:

"msg": ""[]" is not a valid hosted zone id. is not a valid encrypted identifier"

help!!

Thanks!

Nevermind, layer 8… my mistake, i will open a new one