Azure / Azure/arm-template-whatif
Microsoft.Subscription/aliases does not appear in What-If output
- Dominant language
- HTML
- Stars
- 101
- Forks
- 21
- Avg merge
- 3h 35m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
If I have a management group-scoped template with a resource of type `Microsoft.Subscription/aliases` ([which provisions an Enterprise Agreement subscription](https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-enterprise-agreement?tabs=rest#use-arm-template)), the What-If command does not list the subscription creation as an action that will happen.
**Expected behavior**
The list of changes should include the creation of a new subscription, but it does not list this information.
**Client** [e.g. PowerShell, CLI, API)
Azure DevOps task.
**Additional context**
The What-If output always lists the `parent.id` as having changed, which is issue #142.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the management-group-scoped template containing a Microsoft.Subscription/aliases resource through the Azure DevOps task and inspect its What-If output. The change is done when the output lists creation of the new subscription as an action, without losing the existing parent.id behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100