-
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
Management Group Diagnostic Settings Enablement - New Module #321
Conversation
Hey @lachaves, Could you please edit and fill in the PR template for this PR? |
…icep into mgdiagnostictoLAW
@jtracey93 Ready for review |
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.
Nice work @lachaves have left a number of comments and suggestions, ping me on Teams if any questions but hopefully most of it is self-explanatory 👍
On top of the comments on the code and files here are some other bits:
- Can you add parameters folders and files to the
mgDiagSettings
module directory for consistency across all modules - Can you add to each of the ADO Pipelines here that we use for testing: https://github.com/Azure/ALZ-Bicep/tree/main/tests/pipelines
- Reach out to me or @jfaurskov if you have any questions around the conditional logic we use for the
bicep-build-to-validate.yml
ormc-base-unit-validate.yml
- Reach out to me or @jfaurskov if you have any questions around the conditional logic we use for the
Thanks again and looking forward to seeing the comments adressed and then we can test and merge. 👍
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
...-code/bicep/orchestration/mgDiagSettingsAll/parameters/mgDiagSettingsAll.parameters.all.json
Outdated
Show resolved
Hide resolved
...-code/bicep/orchestration/mgDiagSettingsAll/parameters/mgDiagSettingsAll.parameters.all.json
Outdated
Show resolved
Hide resolved
...-code/bicep/orchestration/mgDiagSettingsAll/parameters/mgDiagSettingsAll.parameters.min.json
Outdated
Show resolved
Hide resolved
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run validateazcloud |
Azure Pipelines failed to run 1 pipeline(s). |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
Merging new module addition |
Overview/Summary
New module under orchestration folder that calls another new module to enable Diagnostic Settings for Management Groups inthe ALZ Management Group Hierarchy.
This PR fixes/adds/changes/removes
Breaking Changes
NA
Testing Evidence
Validated with several deployments
Validated using https://learn.microsoft.com/en-us/rest/api/monitor/management-group-diagnostic-settings/get?tabs=HTTP&tryIt=true&source=docs#code-try-0
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch