square-tiger-5809
01/02/2024, 4:49 PMType Name Plan Info
pulumi:pulumi:Stack org-identity-pubsub-uk-dev 36 messages
└─ gcp:pubsub:Subscription identity-change-detection-sub 1 error
Diagnostics:
pulumi:pulumi:Stack (org-identity-pubsub-uk-dev):
panic: interface conversion: interface {} is bool, not string
goroutine 167 [running]:
<http://github.com/hashicorp/terraform-provider-google-beta/google-beta/tpgresource.SetLabelsDiff({0x140071fb350|github.com/hashicorp/terraform-provider-google-beta/google-beta/tpgresource.SetLabelsDiff({0x140071fb350>?, 0x140071fb260?}, 0x140071d13b0?, {0x109d67ee0?, 0x140066cea80})
/home/runner/work/pulumi-gcp/pulumi-gcp/upstream/google-beta/tpgresource/labels.go:84 +0x678
<http://github.com/hashicorp/terraform-provider-google-beta/google-beta/services/pubsub.ResourcePubsubSubscription.All.func1({0x109df2e68|github.com/hashicorp/terraform-provider-google-beta/google-beta/services/pubsub.ResourcePubsubSubscription.All.func1({0x109df2e68>, 0x10db7d5e0}, 0x10857628f?, {0x109d67ee0, 0x140066cea80})
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20230912190043-e6d96b3b8f7e/helper/customdiff/compose.go:53 +0x98
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.Diff(0x14000e6e210|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.Diff(0x14000e6e210>, {0x109df2e68, 0x10db7d5e0}, 0x140017d3790, 0x14007183bf0, 0x14000d66ba0, {0x109d67ee0, 0x140066cea80}, 0x0)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20230912190043-e6d96b3b8f7e/helper/schema/schema.go:698 +0x3b8
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).SimpleDiff(0x0|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).SimpleDiff(0x0>?, {0x109df2e68?, 0x10db7d5e0?}, 0x140017d3790, 0x140017d3380?, {0x109d67ee0?, 0x140066cea80?})
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20230912190043-e6d96b3b8f7e/helper/schema/resource.go:967 +0x9c
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.simpleDiff({0x14000cc7200|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.simpleDiff({0x14000cc7200>?, {0x140014cedb0?, 0x140017ced00?, 0x1a?}}, 0x0?, 0x8000103?, 0x0?, 0xffffffffffffffff?, {{{0x109df3568?, 0x140065415b8?}}, ...}, ...)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.66.0/pkg/tfshim/sdk-v2/provider_diff.go:101 +0x808
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Diff({0x14000cc7200|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Diff({0x14000cc7200>?, {0x0?, 0x0?, 0x0?}}, {0x1085bbc83, 0x1a}, {0x109df33a8?, 0x14002073728}, {0x109dc2b20, 0x14007183bf0})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.66.0/pkg/tfshim/sdk-v2/provider_diff.go:63 +0x1fc
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Diff(0x1400071d340|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Diff(0x1400071d340>, {0x109df2d88?, 0x140071833b0?}, 0x14007123880)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.66.0/pkg/tfbridge/provider.go:672 +0x4a4
<http://github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Diff.func1({0x109e0ba48|github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Diff.func1({0x109e0ba48>?, 0x1400071d340?})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7-0.20230801203955-5d215c892096/muxer.go:338 +0x3c
<http://github.com/pulumi/pulumi-terraform-bridge/x/muxer.resourceMethod[...](0x1400120b220|github.com/pulumi/pulumi-terraform-bridge/x/muxer.resourceMethod[...](0x1400120b220>?, 0x14006e13778, 0x14006e13758?)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7-0.20230801203955-5d215c892096/muxer.go:303 +0xc4
<http://github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Diff(0x14006e137b8|github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Diff(0x14006e137b8>?, {0x109df2d88?, 0x140071833b0?}, 0x10947c7c0?)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7-0.20230801203955-5d215c892096/muxer.go:337 +0x5c
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler.func1({0x109df2d88|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler.func1({0x109df2d88>, 0x140071833b0}, {0x109b64e20?, 0x14007123880})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.94.2/proto/go/provider_grpc.pb.go:575 +0x74
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x109df2d88|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x109df2d88>, 0x14007182f90}, {0x109b64e20, 0x14007123880}, 0x14007190500, 0x14002073518)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x2e8
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler({0x109d1b980|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler({0x109d1b980>?, 0x1400120b220}, {0x109df2d88, 0x14007182f90}, 0x14007039730, 0x1400006e6a0)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.94.2/proto/go/provider_grpc.pb.go:577 +0x12c
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0x140007d0000|google.golang.org/grpc.(*Server).processUnaryRPC(0x140007d0000>, {0x109e06480, 0x140059e61a0}, 0x1400718b440, 0x140065e1bc0, 0x10db2a4c8, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.58.3/server.go:1374 +0xb44
<http://google.golang.org/grpc.(*Server).handleStream(0x140007d0000|google.golang.org/grpc.(*Server).handleStream(0x140007d0000>, {0x109e06480, 0x140059e61a0}, 0x1400718b440, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.58.3/server.go:1751 +0x7c4
<http://google.golang.org/grpc.(*Server).serveStreams.func1.1()|google.golang.org/grpc.(*Server).serveStreams.func1.1()>
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.58.3/server.go:986 +0xb4
created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1> in goroutine 102
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.58.3/server.go:997 +0x160
square-tiger-5809
01/02/2024, 4:49 PMname: org-identity-pubsub
runtime: yaml
config:
vanta_label_contains_user_data:
type: string
vanta_label_non_prod:
type: string
resources:
identity-change-detection-topic:
type: gcp:pubsub:Topic
properties:
name: identity-change-detection
project: ${project}
options:
protect: true
identity-change-detection-sub:
type: gcp:pubsub:Subscription
properties:
labels:
vanta-contains-user-data: '${vanta_label_contains_user_data}'
vanta-description: shared-data-across-services
vanta-non-prod: '${vanta_label_non_prod}'
vanta-owner: owner
ackDeadlineSeconds: 10
expirationPolicy:
ttl: ""
messageRetentionDuration: 86400s
name: identity-change-detection-sub
project: ${project}
topic: projects/${project}/topics/identity-change-detection
options:
protect: true
dependsOn:
- ${identity-change-detection-topic}
Config:
config:
gcp:project: com-org-uk-dev-9aa9cc53
org-identity-pubsub:project: com-org-uk-dev-9aa9cc53
org-identity-pubsub:vanta_label_contains_user_data: "false"
org-identity-pubsub:vanta_label_non_prod: "true"
square-tiger-5809
01/02/2024, 4:52 PMsquare-tiger-5809
01/02/2024, 5:11 PMancient-policeman-24615
01/03/2024, 12:55 PMpanic
in the underlying provider, and is definitely a bug.ancient-policeman-24615
01/03/2024, 12:57 PMpulumi up
the above program. What version of gcp
are you using?