Loading...
Loading...
### Terraform Version ```shell Terraform v1.9.5 on linux_amd64 ``` ### Terraform Configuration Files ```terraform terraform { backend "azurerm" { resource_group_name = "xxx" storage_account_name = "yyy" container_name = "zzz" key = "ddd" } required_providers { azurerm = { source = "hashicorp/azurerm" version = "=4.1.0" } } } ``` ### Debug Output Debugs shows that terraform receives a XML response from Azure Storage which contains states for listed workspaces. There is NextMarker in response which indicates that there should be followup request happening to Azure Storage but Terraform does not request next page which has the most of the states. This can be verified with trace debugging where there is no second request generated and only workspaces from page 1 get listed. Sanitized version of XML returned. ``` <EnumerationResults ServiceEndpoint="https://xxx.blob.core.windows.net/" ContainerName="yyy"> aaa bbb ... ccc ... ddd ... ... example-Zu8p6ve2dXYV8wMEGzFsgWSlRSSzh0v1-1-23-a! ``` ### Expected Behavior All the workspaces from all pages get listed and terraform follows NextMarker until there is not one defined in response (last page). ### Actual Behavior Only states listed in page 1 get listed by terraform and NextMarker provided in response is not followed. ### Steps to Reproduce 1. Requires condition from Azure storage where blob listing spans multiple response pages - this could happen due to partitioning etc. on Azure side. 2. terraform init 3. terrafowm workspace list / select XXX ### Additional Context _No response_ ### References - #30853
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.