-
Notifications
You must be signed in to change notification settings - Fork 158
Make managed exports optional #1723
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
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.
Pull Request Overview
This PR makes managed exports optional for FinOps hub deployments, allowing users who cannot grant User Access Administrator to disable this functionality. Key changes include:
- Introducing a new boolean parameter (enableManagedExports) in multiple Bicep templates (hub.bicep, dataFactory.bicep, and main.bicep) to control managed exports.
- Wrapping related resources and role assignments in conditionals based on enableManagedExports.
- Updating the UI definition and documentation to reflect the change.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/templates/finops-hub/modules/hub.bicep | Added parameter enableManagedExports and passed it to resource modules. |
src/templates/finops-hub/modules/dataFactory.bicep | Added parameter enableManagedExports, applied conditional logic to RBAC roles and resources. |
src/templates/finops-hub/main.bicep | Passed enableManagedExports parameter to the hub module. |
src/templates/finops-hub/createUiDefinition.json | Updated UI elements to include managed exports settings. |
docs-mslearn/toolkit/hubs/template.md | Updated documentation to describe the new enableManagedExports parameter. |
docs-mslearn/toolkit/changelog.md | Added changelog entry for the enableManagedExports feature. |
Comments suppressed due to low confidence (2)
src/templates/finops-hub/createUiDefinition.json:734
- Ensure that the UI definition for 'enableManagedExports' accurately reflects the parameter's purpose and default behavior, matching the implementation in the Bicep modules.
"enableManagedExports": "[steps('advanced').networking.enableManagedExports]",
docs-mslearn/toolkit/hubs/template.md:64
- Clarify in the documentation that the 'User Access Administrator' role is conditionally applied based on the enableManagedExports setting, ensuring consistency with the new behavior.
| [User Access Administrator](/azure/role-based-access-control/built-in-roles#user-access-administrator) | Assigned to Data Factory to manage data in storage. Not applied when **enableManagedExports** is disabled. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
π οΈ Description
Make managed exports optional for people who cannot grant User Access Administrator.
Related to #1600
Fixes #1700
π Checklist
π¬ How did you test this change?
πββοΈ Do any of the following that apply?
π Did you update
docs/changelog.md
?π Did you update documentation?