-
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
Change deployment scope for MG Diagnostics #338 #372
Conversation
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 @lachaves for your work here. A couple of small suggestions plus the below:
Make updates to the tests here:
- https://github.com/Azure/ALZ-Bicep/blob/main/tests/pipelines/base-unit-validate.yml#L108
- https://github.com/Azure/ALZ-Bicep/blob/main/tests/pipelines/bicep-build-to-validate.yml#L197
- https://github.com/Azure/ALZ-Bicep/blob/main/tests/pipelines/mc-base-unit-validate.yml#L88
Thanks and let me know when good to review again 👍
infra-as-code/bicep/orchestration/mgDiagSettingsAll/mgDiagSettingsAll.bicep
Outdated
Show resolved
Hide resolved
infra-as-code/bicep/orchestration/mgDiagSettingsAll/mgDiagSettingsAll.bicep
Outdated
Show resolved
Hide resolved
…ingsAll.bicep Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
@jtracey93, Thanks for your review, suggestions and updates completed. Please validate and let me know if anything still missing. |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
LGTM
'pci' | ||
'another-example' | ||
] | ||
parLandingZoneMgChildren: { |
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.
@jtracey93 I think this is incorrect, it should be an array like the JSON example? The description also is incorrect for the field, its not a dictionary object but a array of strings.
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.
@lachaves to comment
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.
@coolhome @jtracey93 , reviewing right now, will update documentation as required.
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.
I have changed the description in the parameters table and also the bicep example for the parameter to show as an array type. Sending a PR with updates.
Overview/Summary
This PR changes the scope of the orchestration module mgDiagSettingsAll from tenant to mg level.
This PR fixes Issue #338
Breaking Changes
None
Testing Evidence
The validation available here https://learn.microsoft.com/en-us/rest/api/monitor/management-group-diagnostic-settings/get?tabs=HTTP&tryIt=true&source=docs#code-try-0 was used to test.
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branchAs part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch