Join Slack
Powered by
I was wondering if there any shortcuts to take a j...
# automation-api
b
brash-gigabyte-81569
02/11/2025, 2:39 PM
I was wondering if there any shortcuts to take a json struct and convert it to arguments for a resource without having to write it all out. i.e.
{name: "blah"}
-> `FooArgs{ Name: pulumi.String("blah")}`without having to basically translate each field in the code
m
modern-zebra-45309
02/11/2025, 3:41 PM
Are you writing Go or Python?
b
brash-gigabyte-81569
02/11/2025, 3:41 PM
Go
Open in Slack
Previous
Next