sparse-intern-71089
03/11/2022, 11:41 AMwitty-candle-66007
03/11/2022, 5:36 PMpulumi up
that updates the job resource with a schedule that doesn’t run anytime soon to “pause” it. And then update it again with the proper schedule to get it to run again.
Depending on the use-case, I would likely use Pulumi to manage the creation/updating of the jobs but use the Google API SDK “pause” and “resume” methods to pause/unpause (https://cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause)fast-arm-63150
03/12/2022, 12:26 AM