-
Notifications
You must be signed in to change notification settings - Fork 445
[AVM Module Issue]: avm/ptn/lz/sub-vending
Custom RBAC Configuration
#4965
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
Comments
@ChrisSidebotham, thanks for submitting this issue for the Important A member of the @Azure/avm-ptn-lz-subvending-module-owners-bicep or @Azure/avm-ptn-lz-subvending-module-contributors-bicep team will review it soon! |
Hey @ChrisSidebotham thanks for the issue. Its an interesting one and one that im wondering will actually fail pre-flight checks. Have you been able to test a customized version of this module with a customer? |
In a way yes, we currently do 2 calls of the sub vending module in the same main.bicep, first call configure the new subscription, move and resources etc. The second utilises the |
Cool, that would work and pass a pre-flight. Have you been able to test it as one module call as you proposed in the issue? #RR |
Yes, initally we had a |
So it did work in a single module call just with the ordering set in the module correctly? Are you willing to put a PR in for this? #RR |
@jtracey93 / @sebassem - I am working on the PR for this, we have two options and I would like to run it past you, As this is only effected for Subscription level custom role assignments, we either: Option 1: Add additional parameter for Option 2: add a boolean value to the current type for If we can decide this today I can get it in and working by the evening. |
I'm leaning towards option 2 , but we need to make it clear in the description on what that does and maybe add a test to show an example |
im happy with option 2 also @ChrisSidebotham |
Cool Option 2 is in the PR - I am just having some issues with the creation of a custom role :D |
Warning Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly. Tip
|
Warning Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly. Tip
|
Caution **This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. ** Tip
|
Check for previous/existing GitHub issues
Issue Type?
Feature Request
Module Name
avm/ptn/lz/sub-vending
(Optional) Module Version
0.3
Description
Scenario: Many of our Customers work sensitive environments in which giving tenant root permissions is not acceptable. To overcome this the default Management Group for new subscription is changed in the Azure Tenant Settings. Customers spin up a 'commissioning' management group on the same level as the intermediate root and use this as the target management group for the new subscriptions, this prevents permissions being needed at the tenant root group and means that SCF & SCF Policies (These are deployed by Microsoft Employees in projects with complex customer) are compliant.
Issue: When creating a subscription in complex environments, not all custom roles will be assignable at the scope the subscription is created (Commissioning MG as above or Tenant Root). Therefore deployments will fail if you want to target a custom role
Possible Fix: Enable a customRolesAssignment block to take action after the subscription has been moved to the landing zone. Therefore, enabling and expediting the process of ownership for application teams that are using the Landing Zones.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: