# How to obtain "Alias Hosted Zone ID"?

**URL:** <https://forum.ansible.com/t/how-to-obtain-alias-hosted-zone-id/19098>\
**Category:** Ansible Project\
**Created:** [August 24, 2015, 6:20pm UTC](https://forum.ansible.com/t/how-to-obtain-alias-hosted-zone-id/19098 "2015-08-24T18:20:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Stanley\_Nguyen](https://forum.ansible.com/u/Stanley_Nguyen)\
**Post date:** [August 24, 2015, 6:20pm UTC](https://forum.ansible.com/t/how-to-obtain-alias-hosted-zone-id/19098/1 "2015-08-24T18:20:43Z")

</div>

Hi,

I’m using route53 modules and wondering how you can obtain “Alias Hosted Zone ID” without hard-coding it?

thanks,

stanley

---

<div class="post-metadata">

**Author:** ![Anislav\_Atanasov](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Anislav\_Atanasov](https://forum.ansible.com/u/Anislav_Atanasov)\
**Post date:** [July 5, 2016, 2:27pm UTC](https://forum.ansible.com/t/how-to-obtain-alias-hosted-zone-id/19098/2 "2016-07-05T14:27:52Z")

</div>

I have the same problem. I need to find the Alias Hosted Zone ID of a given Cloudfront distribution. Did you manage to resolve this?
