You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@awangptc, thank your for opening this issue. The bug is with the expandShareProperties function, if you pass an empty share_properties code block the expand returns an uninitialized storage.FileServiceProperties object and since it is uninitialized when the code attempts to access the expected values within that object it throws a nil pointer dereference error.
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.4
AzureRM Provider Version
3.30.0
Affected Resource(s)/Data Source(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
shoudl work or error out gracefully
Actual Behaviour
SIGSEGV
Steps to Reproduce
use terraform apply against the provided main.tf.
The culprit is this block
If i remove it it's fine. That's a reasonable solution but I wanted to report this bug as a SIGSEGV crash is not ideal error handling.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: