This message was deleted.
# golang
s
This message was deleted.
b
@delightful-daybreak-41063 you’re looking for Automation API I think https://www.pulumi.com/automation/ here’s a CLI example: https://github.com/jaxxstorm/pulumi-productionapp/tree/main/cli
d
Awesome! Thanks for the guidance. I figured it would have been a solved problem by now, I just didn’t know where to look.
b
@delightful-daybreak-41063 is there anything you search for? I’d love t make this more discoverable
d
That’s a good question. I think I just got started in the regular pulumi use case/docs, and then tunnel visioned myself into assuming that I had to use the /cmd/pulumi stuff. As far as my search queries: “run pulumi code inside application” “pulumi run from go program instead of cli” “import pulumi into go project” Those ones seem to be the most relevant until I went in search of the source code and tried to
go mod
import it I also tried adding in different use cases like “start ec2 instance programatically with pulumi”. But those got too far into the ec2 docs for pulumi and all that’s there. I also tried sprinkling in “reddit”/“stack overflow” to get away from the docs, but that didn’t help quite as much, and eventually I went searching for some official slack/discourse place for pulumi and ended up here.
Again, half of the problem was probably me just getting tunnel vision and not just reading the full manual.