This message was deleted.
# golang
s
This message was deleted.
s
I’d recommend you have a look at Automation API, which I think will be a far more elegant solution than
exec.Command
to perform operations on Pulumi stacks. Also, you’ll want to review the documentation around Pulumi projects and stacks, so that you understand how to manipulate them with Automation API. The docs have some great materials here; let me know if you need links and I’ll look them up (although they should be pretty easy to find). If you have further specific questions, let me know. I’m happy to help if I’m able.
👍 1
m
Thank you @salmon-account-74572 I'll take a look
Problem solved, I had to share the Pulumi ctx between the resources, otherwise it ends up trying to recreate the stack with each new resource added
s
Gotcha---yep, that would definitely do it. Glad you found a solution!
🙌 2