diff --git a/jobs/resource_job.go b/jobs/resource_job.go index c2456724f1..bd05d267c9 100644 --- a/jobs/resource_job.go +++ b/jobs/resource_job.go @@ -209,7 +209,7 @@ type JobHealth struct { } type JobTaskSettings struct { - TaskKey string `json:"task_key,omitempty"` + TaskKey string `json:"task_key"` Description string `json:"description,omitempty"` DependsOn []jobs.TaskDependency `json:"depends_on,omitempty"` RunIf string `json:"run_if,omitempty" tf:"suppress_diff"`