Hi there friends, I was testing out the Automatio...
# automation-api
m
Hi there friends, I was testing out the Automation API from a git repo. If the Pulumi program I had on the git remote was a component resource, what would be the best pattern to pass in (from the calling program) the arguments to the component resource living on a git repo ? Thanks for any help in advance.
l
Have you seen this example that drives a program that lives in a git remote? https://github.com/pulumi/automation-api-examples/tree/main/go/git_repo_program One option to control the program is using config.
👍 1
m
Hey there @lemon-agent-27707 - thanks for so much for that. Yes I did see that - that's the sample I was using to follow along. Suspected - config might be the only approach. Thank you.
p
Hi is this still the only approach? right now i have kinda the same use case
l
If the Pulumi program I had on the git remote was a component resource
Would it help to publish the component resource in a package manager? Then you could consume it from another program (or many other programs) that have more logic, config to control behavior, etc.