-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google_cloud_scheduler_job: support a "paused" attribute #7883
google_cloud_scheduler_job: support a "paused" attribute #7883
Comments
Using 3.65.0 actually a It all cleared up when I manually enabled the jobs in the GUI, and re-ran |
Hey guys!! We have an update about this? " An argument named "paused" is not expected here." |
+1 |
Any update on this ? Thanks. |
This feature would be great |
+1 |
+1, it's a real pain not to be able to handle the cloud scheduler job state from Terraform :/ |
#11141 :-) Please, give it a try |
🙋♀️ I'm working on a PR to add this to GoogleCloudPlatform/magic-modules |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Google Cloud Scheduler allows to pause jobs. A paused job is still present in the list of Cloud Scheduler tasks, but does not fire at its schedule, until it is un-paused.
It would be useful if the
google_cloud_scheduler_job
supported apaused
boolean attribute, to define paused jobs in the infrastructure, or to make sure they are not paused.Currently, the paused status of a Cloud Scheduler job is ignored by the provider in the Terraform plan.
The current behavior introduces the risk of drift between the desired infrastructure and the live one, as one may not realize that a Cloud Scheduler job is paused.
New or Affected Resource(s)
google_cloud_scheduler_job
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: