panic: interface conversion: interface {} is bool, not string #541
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/duplicate
This issue is a duplicate of another issue
resolution/fixed
This issue was fixed
What happened?
When passing strings into a
gcp:pubsub:Subscription
labels
, Pulumi yaml panics and crashes to stack trace. Please see the example for much more detail.Example
At one point, I was able to get it to work and I got the following output in my plan when I was still trying playing with it.
What's odd to me is that they are the same resource type, but one is 0 and 1 and "true" and "false", but the other is "true" and "false" and true and false. It's almost as if they are different resource types. They are being passed the same inputs, but they behave differently and store them in the state differently, too.
Unfortunately, I am unsure how I even got it to create because I can't get it to do that again. So I can't be certain what state it was in when I saw this. I'm still playing with it. But this should be a provider bug, no? Should I keep playing with it or submit an issue at this point? What do you tell a customer if it's a bug stopping them?
Here is the stacktrace:
Output of
pulumi about
CLI
Version 3.99.0
Go Version go1.21.5
Go Compiler gc
Plugins
NAME VERSION
yaml unknown
Host
OS darwin
Version 14.2.1
Arch arm64
This project is written in yaml
Current Stack: GeoffMillerAZ/activtrak-identity-pubsub/dev
TYPE URN
pulumi:pulumi:Stack urn:pulumi:dev::activtrak-identity-pubsub::pulumi:pulumi:Stack::activtrak-identity-pubsub-dev
pulumi:providers:gcp urn:pulumi:dev::activtrak-identity-pubsub::pulumi:providers:gcp::default
gcp:pubsub/topic:Topic urn:pulumi:dev::activtrak-identity-pubsub::gcp:pubsub/topic:Topic::user-topic
gcp:pubsub/topic:Topic urn:pulumi:dev::activtrak-identity-pubsub::gcp:pubsub/topic:Topic::identity-change-detection-topic
gcp:pubsub/subscription:Subscription urn:pulumi:dev::activtrak-identity-pubsub::gcp:pubsub/subscription:Subscription::identity-change-detection-sub
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/GeoffMillerAZ
User GeoffMillerAZ
Organizations GeoffMillerAZ
Token type personal
No dependencies found
Pulumi locates its logs in /var/folders/39/pjbcs1t54djdg68ptpxw5q880000gn/T/ by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: