Closed GeoffMillerAZ closed 6 months ago
cc @pulumi/providers this is probably a validation issue in gcp/tfbridge, but likely also a yaml bug here around config/property types.
The provider bit looks like https://github.com/pulumi/pulumi-gcp/issues/1377 - it's an issue with gcp labels with boolean values.
Did you upgrade your gcp provider version to get past the issue?
Curious also why pulumi about
does not report the gcp version?
Curious also why
pulumi about
does not report the gcp version?
Because pulumi about
derives this information from pulumi SDKs specified (requirements.txt
, package.json
, etc.). YAML doesn't have this.
Logged request here: https://github.com/pulumi/pulumi-yaml/issues/543 thank you!
I updated in the following manner:
pulumi plugin install resource gcp
[resource plugin gcp-7.5.0] installing
Downloading plugin: 67.24 MiB
And it is now working for my test case. Thanks.
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).