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

Bug: terraform plan fails not able to read storage account queue because no private dns entry created #56

Open
opme opened this issue Oct 4, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@opme
Copy link

opme commented Oct 4, 2023

Steps to reproduce

I was using the project defaults to not create private link/a-record for storage account queue. This caused the below error on the terraform plan. I then turned on the private links/a-record for storage account queue and the /28 network ran out of ip. addresses for the storage subnet. I changed it to /27 to fix that.

Error Message

Error: retrieving queue properties for Storage Account (Subscription: "xxxxxx"
│ Resource Group Name: "xxxx"
│ Storage Account Name: "xxxxx"): queues.Client#GetServiceProperties: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded

│   with module.data_landing_zone.module.datalake_workspace.azurerm_storage_account.datalake,
│   on ../../modules/analytics/datalake/datalake.tf line 1, in resource "azurerm_storage_account" "datalake":
│    1: resource "azurerm_storage_account" "datalake" {

Screenshots

No response

@marvinbuss
Copy link
Contributor

Thanks @opme . I will review this tomorrow or on the weekend.

@marvinbuss
Copy link
Contributor

marvinbuss commented Oct 9, 2023

Hi @opme, The above error suggests that you or your runner was not able to connect to the private storage account. This is is not related to limited IP space. I have the Data Landing Zone created in my subscription and there is exactly one IP left in that subnet:
image

This issue is related to connectivity. Your runner is not able to connect to the queue endpoints of the storage account. Please also review this: hashicorp/terraform-provider-azurerm#16240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants