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

Inconsistency in creating storage account and creating the subdomain as queue #25261

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

Inconsistency in creating storage account and creating the subdomain as queue #25261

raguldevops opened this issue Mar 15, 2024 · 2 comments · Fixed by #25262

Comments

@raguldevops
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

v1.7.1

AzureRM Provider Version

v3.96.0

Affected Resource(s)/Data Source(s)

azurerm_storage_queue

Terraform Configuration Files

resource "azurerm_storage_queue" "storage_queue" {
  name                 = "queue-${var.project}-${var.environment}"
  storage_account_name = azurerm_storage_account.storage_account.name
}

Debug Output/Panic Output

Error: expected the subdomain type to be "queue" but got "table"
│ 
│   with azurerm_storage_queue.storage_queue,
│   on storage_account.tf line 45, in resource "azurerm_storage_queue" "storage_queue":
│   45: resource "azurerm_storage_queue" "storage_queue" {

Expected Behaviour

azurerm_storage_queue.storage_queue: Creating...
azurerm_storage_queue.storage_queue: Creation complete after 1s [id=https://sttestpocqatest.queue.core.windows.net/testpoc-qatest-queue]

Actual Behaviour

Error: expected the subdomain type to be "queue" but got "table"

│ with azurerm_storage_queue.storage_queue,
│ on storage_account.tf line 45, in resource "azurerm_storage_queue" "storage_queue":
│ 45: resource "azurerm_storage_queue" "storage_queue" {

Steps to Reproduce

use azurerm provider 3.96.0
try to create a storage account and create a queue

Important Factoids

No response

References

No response

@tombuildsstuff
Copy link
Contributor

hey @raguldevops

Thanks for opening this issue - apologies for this regression.

I've taken a look into this and have opened #25262 which fixes this issue, which'll ship as a part of the next release - but in the interim it should be possible to pin to an earlier version of the Provider to workaround this.

Thanks!

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 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants