You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: ensure an "A" record set with multiple recordsazure_rm_dnsrecordset:
resource_group: myResourceGrouprelative_name: wwwzone_name: testing.comrecord_type: AtargetResouce: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network//providers/Microsoft.Network/dnsZones/zonename/A/recordname"
- name: Create a public ip address
azure_rm_publicipaddress:
resource_group: myResourceGroup
name: my_public_ip
allocation_method: static
targetzone: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}"
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
The text was updated successfully, but these errors were encountered: