You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not have sanitized debug output I can provide. If needed, I will attempt to recreate this in a private subscription.
Expected Behaviour
With no filters (attached, name_prefix, or allocation_type), I would have expected all public IPs inside that resource group to be listed. All of these filters are listed as optional and no error is thrown.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_public_ips
Terraform Configuration Files
Debug Output
I do not have sanitized debug output I can provide. If needed, I will attempt to recreate this in a private subscription.
Expected Behaviour
With no filters (
attached
,name_prefix
, orallocation_type
), I would have expected all public IPs inside that resource group to be listed. All of these filters are listed as optional and no error is thrown.Actual Behaviour
The
public_ips
list is empty.Steps to Reproduce
terraform refresh
attached = true
Source of Issue
terraform-provider-azurerm/internal/services/network/public_ips_data_source.go
Lines 102 to 105 in ad46e90
This code checks if it is attached or not no matter if
attached
is actually set. Ifattached
isnull
, it should be bypassed.The text was updated successfully, but these errors were encountered: