Hi, I am new to pulumi and I am trying to write a ...
# golang
g
Hi, I am new to pulumi and I am trying to write a wrapper on go on top of pulumi. I have 2 solutions for it: 1- generating some go files first (templating) and then run pulumi commands exec on those generated go files 2- somehow run the
pulumi.Run(func(ctx *pulumi.Context) error {}))
without
pulumi up
command and by some go sdk. I prefer the second solution, but I won't do templating. I don't know if it is possible to do so. Does anyone have an idea on it? Thanks!
e
Have you looked into the automation api library? https://www.pulumi.com/docs/using-pulumi/automation-api/
g
Thanks! This is the exact thing I was looking for.