-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upped aliases API version to non-preview #198
Conversation
Checked if the current properties are still valid. With the newer version `Microsoft.Subscription/aliases` there are more properties present, tags for example. Link to msdocs: https://docs.microsoft.com/en-us/azure/templates/microsoft.subscription/2021-10-01/aliases?tabs=bicep
Hey @johnlokerse, Thanks for this, do you also want to add the additional properties as input parameters for this? I think they would be useful and has been on my mind to do 👍 Let me know Thanks Jack |
Sure I will try to update it tonight 👍 |
@jtracey93 I added the properties tags, managementGroupId, subscriptionTenantId and subscriptionOwnerId. The latter is unclear to me. I couldn't find it in the Azure Portal either. Is it the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work here @johnlokerse a few changes please 👍
infra-as-code/bicep/CRML/subscriptionAlias/subscriptionAlias.bicep
Outdated
Show resolved
Hide resolved
infra-as-code/bicep/CRML/subscriptionAlias/subscriptionAlias.bicep
Outdated
Show resolved
Hide resolved
infra-as-code/bicep/CRML/subscriptionAlias/subscriptionAlias.bicep
Outdated
Show resolved
Hide resolved
Added input examples, added parTenantId, added author name, updated description of subscriptionOwnerId
@jtracey93 Implemented your feedback! :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @johnlokerse,
Thanks for making those changes. A few more from this pass/review.
Could you also provide some testing evidence/screenshots? (if not possible let me know and we can do some testing for you)
Thanks
Jack 👍
infra-as-code/bicep/CRML/subscriptionAlias/subscriptionAlias.bicep
Outdated
Show resolved
Hide resolved
infra-as-code/bicep/CRML/subscriptionAlias/subscriptionAlias.bicep
Outdated
Show resolved
Hide resolved
@jtracey93 If I can find time I will take a look at the proposed changes later. 😃 |
Something like this @jtracey93? Made parManagementGroupId and parSubscriptionOwnerId optional using an empty string + empty() check. Tested while creating a new subscription. It works. |
looking good. have you tested with them not empty also? |
Yes. Tested with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last 2 pieces and we are there 👍👍👍
infra-as-code/bicep/CRML/subscriptionAlias/subscriptionAlias.bicep
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented feedback
Edit: @jtracey93 I see a requested change, but I cannot find it...
No worries i will review today |
@johnlokerse can you merge this PR to your forks branch johnlokerse#1 |
@jtracey93 There was an error regarding the markdownlinter. Fixed it and the actions are now good. |
Checked if the current properties are still valid. With the newer version
Microsoft.Subscription/aliases
there are more properties present, tags for example.Link to msdocs: https://docs.microsoft.com/en-us/azure/templates/microsoft.subscription/2021-10-01/aliases?tabs=bicep
As part of this Pull Request I have
main
branch