Issue and observations
When "Core.SkipResource" is set to "False", and the intent is for AzOps to keep state with Azure Landing Zones platform resources, and manage those resources in ARM format, AzOps pull does not appear to import templates for child resources.
The context and intent here is using AzOps to perform ongoing management of core platform resources that have been initially deployed using the Azure Landing Zones portal experience only.
i.e. excluding non-platform (Landing Zone) subscriptions and treating those as push only, or using other IaC and pipeline capabilities in those contexts.
Specifically, the following are not imported and are therefore not manageable:
- Microsoft.Network/virtualHubs/hubVirtualNetworkConnections
- Microsoft.Network/virtualHubs/hubRouteTables
- Microsoft.Network/firewallPolicies/ruleCollectionGroups
- [Other child resources that might be part of the platform subs?]
Steps to reproduce
- Using the portal experience, bootstrap the Azure Landing Zones management groups, subscriptions, and core platform resources including Virtual WAN, Virtual Hub, and Azure Firewall Premium tier, and Github integration.
- Wait for the initial Enterprise-Scale Deployment AzOps - Pull action to complete in github
- Observe the results of imported resources (AzOps state) under the root/Intermediate MG/Platform MG/Connectivity MG/Connectivity Subscription/xxx-vnethub- Resource Group
- Verify for example that no ARM template files are created in that path for Microsoft.Network/virtualHubs/hubVirtualNetworkConnections or Microsoft.Network/virtualHubs/hubRouteTable resources
- As a comparison, run Export-AzResourceGroup -ResourceGroupName xxx-vnethub- and verify that the ARM export includes the Microsoft.Network/virtualHubs/hubVirtualNetworkConnections and Microsoft.Network/virtualHubs/hubRouteTable child resources (defined as 'top-level' resources with reference to parent).
Not 100% sure on the intent here, but if one of the capabilities of AzOps is to maintain state with Azure - at least in the context of platform-level resources bootstrapped by Azure Landing Zones accelerator portal experience, then it would be valuable to have this functionality.
Issue and observations
When "Core.SkipResource" is set to "False", and the intent is for AzOps to keep state with Azure Landing Zones platform resources, and manage those resources in ARM format, AzOps pull does not appear to import templates for child resources.
The context and intent here is using AzOps to perform ongoing management of core platform resources that have been initially deployed using the Azure Landing Zones portal experience only.
i.e. excluding non-platform (Landing Zone) subscriptions and treating those as push only, or using other IaC and pipeline capabilities in those contexts.
Specifically, the following are not imported and are therefore not manageable:
Steps to reproduce
Not 100% sure on the intent here, but if one of the capabilities of AzOps is to maintain state with Azure - at least in the context of platform-level resources bootstrapped by Azure Landing Zones accelerator portal experience, then it would be valuable to have this functionality.