hashicorp/go-azure-sdk refactoring for azurerm_subscriptions - pagination and modelling issue #24948
Open
1 task done
Labels
bug
service/subscription
upstream/go-azure-sdk
This issue/PR requires a fix in `hashicorp/go-azure-sdk`
upstream/pandora
This issue/PR has a dependency on an issue in `github.com/hashicorp/pandora`
v/3.x
Is there an existing issue for this?
Community Note
Terraform Version
1.7.5
AzureRM Provider Version
3.92.0
Affected Resource(s)/Data Source(s)
azurerm_subscriptions
Terraform Configuration Files
Debug Output/Panic Output
Less subscriptions in the tf state instances than expected.
Expected Behaviour
No response
Actual Behaviour
No response
Steps to Reproduce
Use a version prior to 3.90.0 and all subscriptions (>1000) are returned. This PR seemed to have created the issue
I debugged the provider locally and managed to resolve the issue by dropping the
@odata
prefix fornextLink
hereFurther
count
in the subscriptions response needed changing as it is not of typeint
. Below is what I ended up with which did the trick for me:Important Factoids
Have a local branch to fix this issue and happy to submit but not sure if other resources/data sources depending on this package might be affected
References
PR
The text was updated successfully, but these errors were encountered: