We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
container_app
1.8.3
v3.103.1
azurerm_container_app
resource "azurerm_container_app" "container_app" { name = "my-containerapp" container_app_environment_id = azurerm_container_app_environment.container_app_env.id resource_group_name = "my-resource-group" revision_mode = "Single" ingress { external_enabled = true target_port = 80 traffic_weight { percentage = 100 latest_revision = true } } template { container { name = "my-container" image = "${local.registry_server}/${local.image_name}:${local.image_tag}" cpu = 1 memory = "2Gi" command = "dotnet foo.dll" } min_replicas = 1 max_replicas = 2 http_scale_rule { name = "scale-up-down-http-requests" concurrent_requests = 100 } } tags = local.tags }
2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: panic: runtime error: invalid memory address or nil pointer dereference 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x107b7026c] 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: goroutine 191 [running]: 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-provider-azurerm/internal/services/containerapps.(*ContainerAppResource).Read.ContainerAppResource.Read.func1({0x10ac0b270, 0x140014ff730}, {0x14001bc6000, {0x10ac0dbc8, 0x14000016dc8}, 0x14001f1f400, 0x0, {0x10ac0eb18, 0x1103ece20}}) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-provider-azurerm/internal/services/containerapps/container_app_resource.go:260 +0x24c 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-provider-azurerm/internal/sdk.(*ResourceWrapper).Resource.func3({0x10ac0b270, 0x140014ff730}, 0x140014ff730?, {0x109be0380?, 0x14001bc6000?}) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-provider-azurerm/internal/sdk/wrapper_resource.go:68 +0xec 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-provider-azurerm/internal/sdk.(*ResourceWrapper).Resource.(*ResourceWrapper).diagnosticsWrapper.diagnosticsWrapper.func11({0x10ac0b270?, 0x140014ff730?}, 0x0?, {0x109be0380?, 0x14001bc6000?}) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-provider-azurerm/internal/sdk/wrapper_resource.go:192 +0x4c 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x14000595a40, {0x10ac0b1c8, 0x14002f63020}, 0xd?, {0x109be0380, 0x14001bc6000}) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:795 +0xe8 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0x14000595a40, {0x10ac0b1c8, 0x14002f63020}, 0x1400127edd0, {0x109be0380, 0x14001bc6000}) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1089 +0x430 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0x140008b34e8, {0x10ac0b1c8?, 0x14002f62f30?}, 0x14002255d80) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:649 +0x3e4 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0x1400130ff40, {0x10ac0b1c8?, 0x14002f62570?}, 0x14002d8e780) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:789 +0x390 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0x10a829320?, 0x1400130ff40}, {0x10ac0b1c8, 0x14002f62570}, 0x140014fe8c0, 0x0) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:431 +0x164 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/grpc.(*Server).processUnaryRPC(0x140004ae000, {0x10ac34320, 0x14001848680}, 0x14002f5db00, 0x14001b885d0, 0x1103a70c8, 0x0) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/[email protected]/server.go:1374 +0xb44 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/grpc.(*Server).handleStream(0x140004ae000, {0x10ac34320, 0x14001848680}, 0x14002f5db00, 0x0) 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/[email protected]/server.go:1751 +0x7cc 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/grpc.(*Server).serveStreams.func1.1() 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/[email protected]/server.go:986 +0xb4 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 55 2024-05-13T14:25:00.660+0100 [DEBUG] provider.terraform-provider-azurerm_v3.103.1_x5: google.golang.org/[email protected]/server.go:997 +0x160 2024-05-13T14:25:00.662+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/3.103.1/darwin_arm64/terraform-provider-azurerm_v3.103.1_x5 pid=45551 error="exit status 2"
The resource should have been successfully imported into state
The provider crashed and the state was not updated
No response
#25926 #25918
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Community Note
Terraform Version
1.8.3
AzureRM Provider Version
v3.103.1
Affected Resource(s)/Data Source(s)
azurerm_container_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The resource should have been successfully imported into state
Actual Behaviour
The provider crashed and the state was not updated
Steps to Reproduce
azurerm_container_app
resourceImportant Factoids
No response
References
#25926
#25918
The text was updated successfully, but these errors were encountered: