List and identity - azurerm_user_assigned_identity#32667
Open
aayushsingh2502 wants to merge 8 commits into
Open
List and identity - azurerm_user_assigned_identity#32667aayushsingh2502 wants to merge 8 commits into
aayushsingh2502 wants to merge 8 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Terraform 1.14+ List support and identity schema support for azurerm_user_assigned_identity, enabling list "azurerm_user_assigned_identity" ... queries at subscription or resource group scope.
Changes:
- Implement
sdk.ResourceWithIdentityforazurerm_user_assigned_identityand ensure identity data is set during Create/Read/list flattening. - Add a new framework list-wrapped resource to list User Assigned Identities by subscription or by resource group, and register it in the Managed Identity service.
- Add acceptance coverage for list queries and add corresponding website documentation.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| website/docs/list-resources/user_assigned_identity.html.markdown | Adds list-resource documentation and examples for azurerm_user_assigned_identity. |
| internal/services/managedidentity/user_assigned_identity_resource.go | Adds identity schema support and centralizes Read flattening logic. |
| internal/services/managedidentity/user_assigned_identity_resource_list.go | Introduces the list resource implementation (subscription/RG listing). |
| internal/services/managedidentity/user_assigned_identity_resource_list_test.go | Adds acceptance coverage for subscription- and RG-scoped list queries. |
| internal/services/managedidentity/registration.go | Registers the new list resource with the managedidentity service. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mbfrahry
requested changes
Jul 6, 2026
mbfrahry
left a comment
Member
There was a problem hiding this comment.
Hey @aayushsingh2502, this looks nearly there. Just a minor comment that AI flagged but isn't consistent with how we do it in the rest of the provider
mbfrahry
requested changes
Jul 9, 2026
mbfrahry
left a comment
Member
There was a problem hiding this comment.
We're getting a conflict now from merging the other pr 😞
This comment has been minimized.
This comment has been minimized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Description
List and identity implementation for azurerm_user_assigned_identity
Teamcity run: https://hashicorp.teamcity.com/buildConfiguration/TF_AzureRM_AZURERM_SERVICE_PUBLIC_MANAGEDIDENTITY/691143?buildTab=overview
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource- support for thething1property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
AI Assistance Disclosure
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.