Open tlourey opened 3 years ago
@tlourey Thank you for reporting the problem. We'll look into it as soon as possible. Thank you very much!
Was just looking for this today. It would be great to see azure_rm_dnsrecordset updated with support for Azure DNS Alias records.
@tlourey Sorry for not updating in time, we will deal with this problem as soon as possible. Thank you very much!
SUMMARY
No support for DNS alias record sets aka target resource.
ISSUE TYPE
COMPONENT NAME
azure_rm_dnsrecordset azure_rm_publicipaddress
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Azure Cloud Shell CentOS Linux release 7.9.2009 (Core)
STEPS TO REPRODUCE
None - option not documented on : https://docs.ansible.com/ansible/latest/collections/azure/azcollection/azure_rm_dnsrecordset_module.html#parameters
On https://docs.ansible.com/ansible/latest/collections/azure/azcollection/azure_rm_publicipaddress_module.html#parameters there is an option for domain_name but this only covers 'The customizable portion of the FQDN assigned to public IP address'
EXPECTED RESULTS
DNS Record created and linked to Alias object
ACTUAL RESULTS
Doesn't work
References: https://docs.microsoft.com/en-us/rest/api/dns/recordsets/createorupdate#create-a-recordset-with-alias-target-resource https://docs.microsoft.com/en-us/rest/api/dns/recordsets/createorupdate#subresource https://docs.microsoft.com/en-us/rest/api/virtualnetwork/publicipaddresses/createorupdate#subresource