I was hoping to programmatically define my work pools so we don't need to update them in the UI. But it looks like the only options are the UI or the API. The CLI can create work pools but not edit their configuration, if I'm reading this right.
Is it more typical to just define these via the UI instead?
✅ 1
John Lemmon
09/21/2023, 2:42 PM
Specifically I'm trying to make 2
cloud-run:push
work pools, one for staging and one for prod. Doing it programmatically would help me make sure the 2 are defined the same way, just with different GCP projects and accounts.
s
Serina
09/21/2023, 8:52 PM
Hi @John Lemmon, we are actively working on this! You can follow status updates on this issue: Allow configuration of a work pool's base job template via the CLI
tl;dr a pull request is up for review to allow users to create work pools with custom base job templates, e.g.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.