Closed imileusnic closed 8 months ago
Hi @mybayern1974 , I apologize for disturbing you, but I would appreciate it if you could explain to me how come that this is an enhancement and not a bug. If this is an enhancement that means that the data source should not return all properties of all entities that are satisfying the filter condition. Please could you explain to me which properties of the filtered entities this data source should return?
@imileusnic , thank you for calling out. By re-reading the issue description, I'm convinced, at least apparently, this looks like a bug rather than enhancement. I'm re-labeling it. Please expect either me or my colleague would chime in later to share more findings of this issue.
@mybayern1974 , thank you very much for help.
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.6.6
AzureRM Provider Version
3.94.0
Affected Resource(s)/Data Source(s)
azurerm_storage_table_entities
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Expected is that output "project_entities" has in each item "properties" property with "project" and "department" property.
Expected is that the documentation page for the data source has the correct name of the data source.
Expected is that unit tests check also the number of properties that are returned with and without "select".
Actual Behaviour
"project_entities" output has only one property in "properties", sometimes "department" and sometimes "project".
If I use "azurerm_storage_table_entity" data source to retrieve one entity from "projects" table, I will get in "entities" property both properties ("department" and "project"). So, I conclude that storage account and table with data is functioning correctly.
Steps to Reproduce
terraform init
terraform plan
Important Factoids
No response
References
No response