This message was deleted.
# golang
s
This message was deleted.
l
Have you read the programming model docs on
Apply
? https://www.pulumi.com/docs/intro/concepts/programming-model/#apply You can use a combination of
All
and
Apply
to transform a bunch of pulumi properties (
pulumi.String
,
<http://pulumi.Int|pulumi.Int>
, etc) into a new output value that is exportable.
w
yep, and that's my current approach, however it's 100+ LOC just to serialize/deserialize a bunch of fields to/from JSON there may be a better way?
l
Can you link to the struct? Which package are you using?
w
sorry for the delay, i missed your reply >.< i ended up: • using getProvider from the consumer stack to create pg users-- this gives me username + password • exporting/importing host, port, sslmode