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
Error: Plugin did not respond
│
│ with module.virtual_machine.azurerm_virtual_machine.virtual_machine["vmcac1"],
│ on .\compute\virtual_machine.tf line 1, in resource "azurerm_virtual_machine""virtual_machine":
│ 1: resource "azurerm_virtual_machine""virtual_machine" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin
│ logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│ with module.windows_virtual_machine.azurerm_windows_virtual_machine.windows_virtual_machine["vmpmpcnpcac1"],
│ on .\compute\windows_virtual_machine\windows_virtual_machine.tf line 1, in resource "azurerm_windows_virtual_machine""windows_virtual_machine":
│ 1: resource "azurerm_windows_virtual_machine""windows_virtual_machine" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin
│ logs may contain more details.
╵
Releasing state lock. This may take a few moments...
Stack trace from the terraform-provider-azurerm_v3.1.0_x5.exe plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x4746fa9]
goroutine 554 [running]:
github.com/hashicorp/terraform-provider-azurerm/internal/services/legacy.flattenAzureRmVirtualMachineOsProfile(...)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/internal/services/legacy/virtual_machine_resource.go:1277
github.com/hashicorp/terraform-provider-azurerm/internal/services/legacy.resourceVirtualMachineRead(0xc001b09200, {0x5144860?, 0xc0009fe000})
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/internal/services/legacy/virtual_machine_resource.go:877 +0xd29
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x5a3d569?, {0x616a228?, 0xc001e26180?}, 0x24?, {0x5144860?, 0xc0009fe000?})
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:346 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000e63dc0, {0x616a228, 0xc001e26180}, 0xc001e2dad0, {0x5144860, 0xc0009fe000})
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:635 +0x35b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00051c3f0, {0x616a228, 0xc001e26180}, 0xc001e26200)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/grpc_provider.go:576 +0x43f
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc0001b7880, {0x616a2d0?, 0xc001a12000?}, 0xc0023f4060)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server/server.go:553 +0x33c
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0x5690300?, 0xc0001b7880}, {0x616a2d0, 0xc001a12000}, 0xc0023f4000, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001ff180, {0x617b230, 0xc000189c80}, 0xc001b12b40, 0xc00147d950,
0x9fd17d0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:1292 +0xc6f
google.golang.org/grpc.(*Server).handleStream(0xc0001ff180, {0x617b230, 0xc000189c80}, 0xc001b12b40, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:1617 +0xa1b
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:940 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor
Error: The terraform-provider-azurerm_v3.1.0_x5.exe plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that itcan be fixed. The output above should help diagnose the issue.
Expected Behaviour
terraform plan should show that there are no changes to configuration
Actual Behaviour
Throwing the provided error
Steps to Reproduce
terraform init
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
@lviswanath Thank you for taking the time to create this issue. There is a fix for this crash in v3.76.0 with this PR #23535, so upgrading will resolve this issue for you. As such, I am going to mark this issue as resolved.
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.1.5
AzureRM Provider Version
3.1.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_machine
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
terraform plan should show that there are no changes to configuration
Actual Behaviour
Throwing the provided error
Steps to Reproduce
terraform init
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: