You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For scheduled jobs when there is no attemptDeadline in the GcpConfig the default 3 minutes is applied:
+ resource "google_cloud_scheduler_job" "scheduler-integrations-trustpilot-fetchAndUpdateTpReviewDataInBc" {
+ attempt_deadline = "3m"
+ id = (known after apply)
+ name = "integrations-trustpilot-fetchAndUpdateTpReviewDataInBc"
+ paused = (known after apply)
+ project = "focusrite-staging"
+ region = "europe-west2"
+ schedule = "0 0 * * *"
+ state = (known after apply)
+ time_zone = "Etc/UTC"
+ http_target {
+ http_method = "POST"
+ uri = "https://integrations-trustpilot-fetchandupdatetpreviewdat-6lrdsxsy7q-nw.a.run.app/"
}
}
Default attempt_deadline is not defined in seconds however which is required by GCP:
│ Error: Error creating Job: googleapi: Error 400: Invalid value at 'job.attempt_deadline' (type.googleapis.com/google.protobuf.Duration), Field 'attemptDeadline', Illegal duration format; duration must end with 's'
│ Details:
│ [
│ {
│ "@type": "type.googleapis.com/google.rpc.BadRequest",
│ "fieldViolations": [
│ {
│ "description": "Invalid value at 'job.attempt_deadline' (type.googleapis.com/google.protobuf.Duration), Field 'attemptDeadline', Illegal duration format; duration must end with 's'",
│ "field": "job.attempt_deadline"
│ }
│ ]
│ }
│ ]
│
│ with google_cloud_scheduler_job.scheduler-integrations-trustpilot-fetchAndUpdateTpReviewDataInBc,
│ on cdk.tf.json line 307, in resource.google_cloud_scheduler_job.scheduler-integrations-trustpilot-fetchAndUpdateTpReviewDataInBc:
│ 307: }
│
The text was updated successfully, but these errors were encountered:
For scheduled jobs when there is no
attemptDeadline
in theGcpConfig
the default 3 minutes is applied:Default
attempt_deadline
is not defined in seconds however which is required by GCP:The text was updated successfully, but these errors were encountered: