Skip to content

Support migration patch resource used to manage a nested resource #11

@ms-henglu

Description

@ms-henglu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions