Good morning! :i_love_you_hand_sign: I'm having is...
# general
h
Good morning! 🤟 I'm having issues casting a value from pulumi.IDOutput to pulumi.IntInput ... Does anyone know how to do it?
a
If your
id
is a parsable as an int, you can use
myID.ApplyT(strconv.Atoi).(pulumi.IntOutput)
.
pulumi.IntOutput
satisfies the interface
pulumi.IntInput
.
h
thank you!
i'm stuck on another cast 😞 i have to mock a pulumi.ArrayInput type from a normal golang array of strings. does anyone know how to do?