Add resource identity and list support to azurerm_public_ip#31762
Merged
Add resource identity and list support to azurerm_public_ip#31762
azurerm_public_ip#31762Conversation
azurerm_public_ip
Contributor
Author
|
Team City Test Results: PR Number: 31762 All Tests
Total Passed: 37 |
sreallymatt
requested changes
Feb 17, 2026
Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com>
sreallymatt
approved these changes
Feb 17, 2026
Collaborator
sreallymatt
left a comment
There was a problem hiding this comment.
Thanks @mstroob - LGTM 🧇
anurag-hashicorp
pushed a commit
to anurag-hashicorp/terraform-provider-azurerm
that referenced
this pull request
Feb 19, 2026
…orp#31762) Add resource identity and list support to `azurerm_public_ip` (hashicorp#31762)
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
This PR adds support for the new Terraform 1.14+
listblock functionality and resource identity feature to theazurerm_public_ipresource.Changes include:
azurerm_public_ipresource, allowing users to reference resources using structured identity fields (subscription_id, resource_group_name, name) instead of just the resource ID stringresourcePublicIpFlattenfunction to enable code reuse between read and list operationsThis enhancement improves the developer experience by:
PR Checklist
Changes to existing Resource / Data Source
Testing
Test Coverage:
TestAccPublicIp_resourceIdentityto verify identity field population and import functionalityTestAccPublicIp_listBySubscriptionAndRGto verify list functionality at both subscription and resource group scopestfversion.SkipBelow)Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
This is a (please select all that apply):
Related Issue(s)
N/A - This is an enhancement to support new Terraform 1.14+ functionality
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.
No changes to security controls. This PR only adds new query capabilities and identity field support; it does not modify any security-related functionality such as access controls, encryption, or logging.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.