-
Notifications
You must be signed in to change notification settings - Fork 27
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Terraform returns warnings for dbtcloud_job.timeout_seconds
, but the resource doesn't support the suggested configuration.
Documentation isn't clear either:
(Number, Deprecated) [Deprectated - Moved to execution.timeout_seconds]
Warning message
╷
│ Warning: Attribute Deprecated
│
│ with module.jobs.dbtcloud_job.other["REDACTED|REDACTED"],
│ on ..\modules\dbt-cloud-jobs\main.tf line 196, in resource "dbtcloud_job" "other":
│ 196: timeout_seconds = each.value.config.timeout_seconds
│
│ Moved to execution.timeout_seconds
│
│ (and one more similar warning elsewhere)
Resource configuration
resource "dbtcloud_job" "other" {
for_each = local.other_jobs
triggers = {
"github_webhook" = false
"git_provider_webhook" = false
"schedule" = false
"on_merge" = false
}
project_id = each.value.project_id
environment_id = each.value.environment_id
name = each.value.config.name
job_type = each.value.config.job_type
description = each.value.config.description
...
# Advanced settings
target_name = each.value.config.target_name
**timeout_seconds = each.value.config.timeout_seconds**
num_threads = each.value.config.num_threads
run_generate_sources = each.value.config.run_generate_sources
generate_docs = each.value.config.generate_docs
...
}
Expected behavior
The execution
block should be available for configuration.
Config
- dbt Cloud provider version 1.1.0
Additional context
N/A
vladmld and SvenInsightFirst
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working