https://pulumi.com logo
#azure
Title
# azure
b

brainy-ocean-92780

01/12/2021, 11:14 PM
#azure I'm run into an error updating appsettings for an app service. It complains about an interface being nil and also returns a bunch of references to google.golang (not my code) The error returns
Copy code
panic: interface conversion: interface {} is nil, not map[string]interface {}
    goroutine 130 [running]:
    <http://github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web.expandAppServiceLogs(0x4e99700|github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web.expandAppServiceLogs(0x4e99700>, 0xc000f23260, 0x4, 0x4e99700, 0xc000f23260, 0x1)
        /home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-azurerm@v1.41.1-0.20210112145652-000a00bbbc6f/azurerm/internal/services/web/app_service.go:1413 +0xf25
    <http://github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web.resourceAppServiceUpdate(0xc001168a80|github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web.resourceAppServiceUpdate(0xc001168a80>, 0x502d5e0, 0xc00028c300, 0x0, 0x0)
        /home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-azurerm@v1.41.1-0.20210112145652-000a00bbbc6f/azurerm/internal/services/web/app_service_resource.go:515 +0x1d12
    <http://github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).Apply(0xc001322240|github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).Apply(0xc001322240>, 0xc00184ec80, 0xc001c32640, 0x502d5e0, 0xc00028c300, 0x1, 0x0, 0x1)
        /home/runner/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.13.1/helper/schema/resource.go:316 +0x273
    <http://github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).Apply(0xc000b3ad00|github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).Apply(0xc000b3ad00>, 0xc0006715e0, 0xc00184ec80, 0xc001c32640, 0x0, 0x0, 0x0)
        /home/runner/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.13.1/helper/schema/provider.go:294 +0xa5
    <http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfshim/sdk-v1.v1Provider.Apply(0xc000b3ad00|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfshim/sdk-v1.v1Provider.Apply(0xc000b3ad00>, 0x57fa2d3, 0x13, 0x5f1e240, 0xc000b579d0, 0x5f633a0, 0xc001c32640, 0x0, 0x5f633a0, 0xc001c32640, ...)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.16.0/pkg/tfshim/sdk-v1/provider.go:97 +0x106
    <http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Update(0xc0000021e0|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Update(0xc0000021e0>, 0x5f1a400, 0xc000b55650, 0xc0006c6100, 0xc0000021e0, 0x50a0b01, 0xc001659540)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.16.0/pkg/tfbridge/provider.go:977 +0x96b
    <http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler.func1(0x5f1a400|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler.func1(0x5f1a400>, 0xc000b55650, 0x54e0820, 0xc0006c6100, 0x54c6b00, 0x976d3e0, 0x5f1a400, 0xc000b55650)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.15.1-0.20201202214525-260620430c4c/proto/go/provider.pb.go:2305 +0x90
    <http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x5f1a400|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x5f1a400>, 0xc000ec4ba0, 0x54e0820, 0xc0006c6100, 0xc001b70380, 0xc001b703a0, 0x0, 0x0, 0x5e9f7a0, 0xc000498750)
        /home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x302
    <http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler(0x55a12c0|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler(0x55a12c0>, 0xc0000021e0, 0x5f1a400, 0xc000ec4ba0, 0xc001d00ae0, 0xc00137db80, 0x5f1a400, 0xc000ec4ba0, 0xc001c44f80, 0x1a4c)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.15.1-0.20201202214525-260620430c4c/proto/go/provider.pb.go:2307 +0x152
    <http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000988540|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000988540>, 0x5f64360, 0xc000105380, 0xc0006d8000, 0xc0013d0150, 0x9726af8, 0x0, 0x0, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:1171 +0x522
    <http://google.golang.org/grpc.(*Server).handleStream(0xc000988540|google.golang.org/grpc.(*Server).handleStream(0xc000988540>, 0x5f64360, 0xc000105380, 0xc0006d8000, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:1494 +0xce5
    <http://google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000058430|google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000058430>, 0xc000988540, 0x5f64360, 0xc000105380, 0xc0006d8000)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:834 +0xa8
    created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:832 +0x1fd
4 Views