handsome-truck-95168
01/06/2020, 8:58 PMpanic: fatal: An assertion has failed: Expected diff to not require deletion or replacement during Update of urn:pulumi:deploy-test::deploy::aws:ecs/service:Service::xxx
I replaced dependencies for the Service, could that be the problem?white-balloon-205
Service
, the diff that was reported during the preview, etc. - it would be great to try to reproduce this and report the underlying bug in the upstream provider so that we can address the root cause that likely led to this.handsome-truck-95168
01/07/2020, 7:15 PMService
. The service had two load balancers pointed at it, and I was trying to remove one of those. I'm glad to provide more details if this isn't enough:
~ aws:ecs/service:Service: (update)
[id=arn:aws:ecs:us-west-2:948428744612:service/asheworks-deploy-test-test-dashboard-server]
[urn=urn:pulumi:deploy-test::deploy::aws:ecs/service:Service::asheworks-deploy-test-test-dashboard-server]
[provider=urn:pulumi:deploy-test::deploy::pulumi:providers:aws::default_1_7_0::a2ee5fe6-5754-4581-84f5-344fc0d34639]
~ loadBalancers : [
~ [0]: {
~ containerName : "test-dashboard-server" => "test-dashboard-server"
~ containerPort : 8080 => 8080
- elbName : ""
~ targetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:948428744612:targetgroup/tg-a5ba771fb41eda24def7a-440027a/1fcfec737277751f" => "arn:aws:elasticloadbalancing:us-west-2:948428744612:targetgroup/tg-c49cd242343cbb5f35e0d-64c0c86/de2899e384a48509"
}
- [1]: {
- containerName : "test-dashboard-server"
- containerPort : 8080
- targetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:948428744612:targetgroup/tg-c49cd242343cbb5f35e0d-64c0c86/de2899e384a48509"
}
]
~ taskDefinition: "arn:aws:ecs:us-west-2:948428744612:task-definition/dashboard-server:893" => "arn:aws:ecs:us-west-2:948428744612:task-definition/dashboard-server:896"
Also, here is the stack trace of the failure:panic: fatal: An assertion has failed: Expected diff to not require deletion or replacement during Update of urn:pulumi:deploy-test::deploy::aws:ecs/service:Service::asheworks-deploy-test-test-dashboard-server
goroutine 3405 [running]:
<http://github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract.failfast(...)|github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract.failfast(...)>
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract.Assertf(0xc000dfa300|github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract.Assertf(0xc000dfa300>, 0x5321bc5, 0x48, 0xc0008737e0, 0x1, 0x1)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract/assert.go:33 +0x198
<http://github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.(*Provider).Update(0xc000581040|github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.(*Provider).Update(0xc000581040>, 0x5c40aa0, 0xc001535980, 0xc0004e00e0, 0xc000581040, 0x48cbf01, 0xc001ed1000)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/provider.go:805 +0x82d
<http://github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x5c40aa0|github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x5c40aa0>, 0xc001535980, 0x50c7620, 0xc0004e00e0, 0x50c0460, 0x9ccad48, 0x5c40aa0, 0xc001535980)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1592 +0x86
<http://github.com/pulumi/pulumi-aws/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x5c40aa0|github.com/pulumi/pulumi-aws/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x5c40aa0>, 0xc001e81980, 0x50c7620, 0xc0004e00e0, 0xc000657460, 0xc000657480, 0x0, 0x0, 0x5ba4f80, 0xc0004889b0)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:61 +0x360
<http://github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler(0x5143540|github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler(0x5143540>, 0xc000581040, 0x5c40aa0, 0xc001e81980, 0xc0011c46c0, 0xc0006563c0, 0x5c40aa0, 0xc001e81980, 0xc000e40000, 0xa87)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1594 +0x158
<http://github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000e4160|github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000e4160>, 0x5c65da0, 0xc0007ea300, 0xc000aad800, 0xc00074dd40, 0x9c9cac0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:995 +0x466
<http://github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).handleStream(0xc0000e4160|github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).handleStream(0xc0000e4160>, 0x5c65da0, 0xc0007ea300, 0xc000aad800, 0x0)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:1275 +0xda6
<http://github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0004f2040|github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0004f2040>, 0xc0000e4160, 0x5c65da0, 0xc0007ea300, 0xc000aad800)
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:710 +0x9f
created by <http://github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).serveStreams.func1|github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).serveStreams.func1>
/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:708 +0xa1