Skip to content

Commit 6edb6ff

Browse files
committed
fix: migrate timeout_seconds to execution block for provider v1.3
1 parent 6e8b83a commit 6edb6ff

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

modules/jobs/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ resource "dbtcloud_job" "job" {
5050
schedule_interval = lookup(each.value, "schedule_interval", null)
5151
schedule_type = lookup(each.value, "schedule_type", null)
5252
target_name = lookup(each.value, "target_name", null)
53-
timeout_seconds = lookup(each.value, "timeout_seconds", 0)
5453
triggers_on_draft_pr = lookup(each.value, "triggers_on_draft_pr", false)
54+
55+
# Provider v1.3+ execution block
56+
execution {
57+
timeout_seconds = lookup(each.value, "timeout_seconds", 0)
58+
}
5559
}

0 commit comments

Comments
 (0)