Hey, I'm running into an issue with Pulumi.Automat...
# automation-api
m
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
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
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
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
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