Azure / Azure/aztfmigrate

Support migration patch resource used to manage a nested resource

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
55
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.