hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.47k stars 4.55k forks source link

Terraform apply for the azure spring app giving plugin not responded error #25933

Open nitzz1009 opened 2 months ago

nitzz1009 commented 2 months ago

Is there an existing issue for this?

Community Note

Terraform Version

1.8.3

AzureRM Provider Version

3.103

Affected Resource(s)/Data Source(s)

azurerm_spring_cloud_application_insights_application_performance_monitoring,azurerm_spring_cloud_build_pack_binding,azurerm_spring_cloud_dynatrace_application_performance_monitoring

Terraform Configuration Files

resource "azurerm_spring_cloud_application_insights_application_performance_monitoring" "asa_apm_appi" {
  name                         = "msa-apm-appi"
  spring_cloud_service_id      = azurerm_spring_cloud_service.asa.id
  connection_string            = var.appi_connection_string
  globally_enabled             = false
  role_name                    = "msa-apm-scgw"
  role_instance                = "msa-apm-scgw"
  sampling_percentage          = var.appi_sampling_percentage
  sampling_requests_per_second = var.appi_sampling_requests_per_second
}

Debug Output/Panic Output

Error: Plugin did not respond
│
│   with module.LZ-INFRA-ASA.azurerm_spring_cloud_dynatrace_application_performance_monitoring.asa_app_dt[0],
│   on TerraModules/66.SpringAppsModule/04.Main.tf line 97, in resource "azurerm_spring_cloud_dynatrace_application_performance_monitoring" "asa_app_dt":
│   97: resource "azurerm_spring_cloud_dynatrace_application_performance_monitoring" "asa_app_dt" {
│
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.

github.com/hashicorp/terraform-provider-azurerm/internal/sdk/wrapper_resource.go:121 +0x14d
github.com/hashicorp/terraform-provider-azurerm/internal/sdk.(*ResourceWrapper).Resource.(*ResourceWrapper).diagnosticsWrapper.diagnosticsWrapper.func13({0x8e4e248?, 0xc00157d420?}, 0x0?, {0x763cf80?, 0xc0019fe000?})
    github.com/hashicorp/terraform-provider-azurerm/internal/sdk/wrapper_resource.go:192 +0x59
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).update(0xc0009157a0, {0x8e4e1a0, 0xc0028c1ec0}, 0xd?, {0x763cf80, 0xc0019fe000})
    github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/resource.go:812 +0x11b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0009157a0, {0x8e4e1a0, 0xc0028c1ec0}, 0xc000692dd0, 0xc0021d5500, {0x763cf80, 0xc0019fe000})
    github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/resource.go:919 +0x83a
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00094a408, {0x8e4e1a0?, 0xc0028c1dd0?}, 0xc002899090)
    github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/grpc_provider.go:1060 +0xdbc
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc001d555e0, {0x8e4e1a0?, 0xc0028c15c0?}, 0xc000e1dc00)
    github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/tf5server/server.go:859 +0x56b
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x8283240?, 0xc001d555e0}, {0x8e4e1a0, 0xc0028c15c0}, 0xc000e1db90, 0x0)
    github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:467 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000020000, {0x8e77320, 0xc0015e6000}, 0xc0028c8240, 0xc001f65890, 0xe6d0e78, 0x0)
    google.golang.org/grpc@v1.58.3/server.go:1374 +0xde7
google.golang.org/grpc.(*Server).handleStream(0xc000020000, {0x8e77320, 0xc0015e6000}, 0xc0028c8240, 0x0)
    google.golang.org/grpc@v1.58.3/server.go:1751 +0x9e7
google.golang.org/grpc.(*Server).serveStreams.func1.1()
    google.golang.org/grpc@v1.58.3/server.go:986 +0xbb
created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 8
    google.golang.org/grpc@v1.58.3/server.go:997 +0x145
Error: The terraform-provider-azurerm_v3.103.1_x5 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 it
can be fixed. The output above should help diagnose the issue.

Expected Behaviour

No response

Actual Behaviour

No response

Steps to Reproduce

No response

Important Factoids

No response

References

No response

nitzz1009 commented 2 months ago

Is there any update on the issue @rcskosir