-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Segmentation Fault reading storage account with private link #25314
Comments
I have confirmed that the crash is a result of the storage account being inaccessible to the provider. Due to the unrelated apply error, the private dns zone vnet association was not created, which in turn rendered the storage account inaccessible. Though the plugin shouldn't crash in this case, looks like a null verification that is missing. |
@fabio-s-franco Thanks for taking the time to report this in detail, even whilst you're handling an outage. You're right, the crash itself is due to a missing nil check which will be fixed by hashicorp/go-azure-sdk#932. Unfortunately there isn't much we can currently do to work around the inaccessible storage account, but we can certainly fix the crash. |
Of course, and I wasn't expecting so. I resolved the issue manually, then addressed the accessibility problem. I am glad the nil check issue was resolved, it can make it quicker to understand the problem. |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.7.4
AzureRM Provider Version
3.96.0_x5
Affected Resource(s)/Data Source(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No response
Actual Behaviour
I have updated a storage account that now can only be accessed via private link and private endpoint connection. During the update a runtime error occurred (unrelated). I had also moved the resource to a different module and imported it using terraform import.
When trying to apply all changes (after previous interruption), the provider now crashes. Private endpoint did not have a chance to be created and with the crash, I reached a deadlock. Currently experiencing an outtage so can give more details later.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: