Skip to content

Adding ServiceType parameter to role assignments#49

Merged
johncollinson2001 merged 1 commit intomainfrom
fix/role_assn_principal_type
Jun 6, 2025
Merged

Adding ServiceType parameter to role assignments#49
johncollinson2001 merged 1 commit intomainfrom
fix/role_assn_principal_type

Conversation

@mirajabdullah1
Copy link
Copy Markdown
Contributor

Description

The Azure Landing Zone User Access Admin role has specific ABAC conditions - one of those conditions is that any role requests must have the origin source as 'ServicePrincipal'.

Terraform does not set this tag - and this is fine for scenarios without ABAC. Due to the condition requiring the parameter, it must be set.

I have added a simple line to reflect this - it poses no dangers or downsides.

If this change was not made, we would not be able to consume this module within the Landing Zone.

Type of change

Please check the relevant options:

🔲 New feature (a change which adds functionality)
✅ Bug fix (a change which fixes an issue)
🔲 Refactoring (code cleanup or optimisation)
🔲 Testing (new tests, or improvements to existing tests)
🔲 Pipelines (changes to pipelines and workflows)
🔲 Documentation (changes to documentation)
🔲 Other (something that's not listed here - please explain)

Checklist

Please check the relevant options:

✅ My code aligns with the style of this project
🔲 I have added comments in hard to understand areas NA
🔲 I have added tests that prove my change works NA
🔲 I have updated the documentation NA
✅ If merging into main, I'm aware that the PR should be squash merged with a commit message that adheres to the semantic release format

Additional Information

Please provide any additional information or context related to this pull request.

@johncollinson2001 johncollinson2001 merged commit 30bc01f into main Jun 6, 2025
5 of 6 checks passed
@johncollinson2001 johncollinson2001 deleted the fix/role_assn_principal_type branch July 27, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants