Hey, I'm running into an issue with Pulumi.Automation. The problem comes down to deserializing my
pulumi.yaml
file, where I have
config
attribute which is a map. And as I see both in .NET and NodeJS version it is expected to be just
string
. Is that mistake?
l
little-cartoon-10569
10/29/2024, 6:52 PM
Possibly? A lot of properties can be a single value or a map, so they may be typed to be a string and you have to know to cast it to map yourself. I know config won't ever be a string, but that might just be the way it's implemented.
m
millions-machine-77270
10/30/2024, 8:22 AM
Well, but I have no way to cast it to map because it crashes while it's deserialized. So looks like it a bug. But I'm bit surprised nobody noticed that before
l
little-cartoon-10569
10/30/2024, 8:26 AM
It crashes? What is "it" here? If there's something in the Pulumi configuration deserialization that's crashing, you might ask on #CQ2QFLNFL? And if there's no joy there, raise an issue in GitHub.
m
millions-machine-77270
10/30/2024, 8:31 AM
Yeah, Pulumi.Automation nuget package from .NET craches during deserialization of Pulumi.yaml. I have already reported that on github. I just thought it was my mistake because looks like the same issue is in other languages
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.