Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use the data source azurerm_storage_table_entity #25267

Closed
1 task done
NickG158 opened this issue Mar 15, 2024 · 2 comments · Fixed by #25307
Closed
1 task done

Unable to use the data source azurerm_storage_table_entity #25267

NickG158 opened this issue Mar 15, 2024 · 2 comments · Fixed by #25307

Comments

@NickG158
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Terraform Version

1.7.5

AzureRM Provider Version

3.96.0

Affected Resource(s)/Data Source(s)

azurerm_storage_table_entity

Terraform Configuration Files

data "azurerm_storage_table_entity" "example" {
  table_name           = "exampletablename"
  storage_account_name = "examplestorageaccountname"
  partition_key        = "1"
  row_key              = "2"
}

Debug Output/Panic Output

data.azurerm_storage_table_entity.example: Reading...

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: parsing Account ID: expected the account "" to use a domain suffix of "core.windows.net"
│
│   with data.azurerm_storage_table_entity.example,
│   on aa.tf line 1, in data "azurerm_storage_table_entity" "example":
│    1: data "azurerm_storage_table_entity" "example" {
│
╵

Expected Behaviour

Return the storage table entity

Actual Behaviour

Error above returned when using v3.96.0 of the azurerm provider. Working on 3.95.0 and below.

Steps to Reproduce

terraform init, using the v3.96.0 provider
terraform plan / terraform apply

Important Factoids

No response

References

#24798

accountId, err := accounts.ParseAccountID(accountName, storageClient.StorageDomainSuffix)

@manicminer
Copy link
Contributor

@NickG158 Thanks for reporting this and apologies for this regression. We'll work on a fix as soon as possible.

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.