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
The nested resource has its own resource id, it's different from the azurem resource's id pattern.
For example, SOA record's id looks like /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}
But its target resource azurerm_dns_zone's id pattern looks like /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}
The nested resource has its own resource id, it's different from the azurem resource's id pattern.
For example, SOA record's id looks like
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}
But its target resource
azurerm_dns_zone
's id pattern looks like/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}
So we need to manually maintain this mapping in https://github.com/ms-henglu/azurerm-restapi-to-azurerm/blob/master/azurerm/loader/loader_hardcode.go
The text was updated successfully, but these errors were encountered: