Closed dsmdavid-az closed 4 months ago
What is the use case for setting is_active
to false
?
I am thinking that I might update every resource and delete this config. What it does is the same as the destroy, so there is no point in creating a job with is_active = false
If you want the job not to run, you will have to update the triggers
This issue has been marked as Stale because it has been open for 90 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Describe the bug
When creating a job with the
is_active
set to false, terraform fails with an error. If the job is created withis_active = true
,terraform apply
runs successfully. Once the resource has been created, it can again be set to falseis_active = false
andterraform apply
will successfully modify the resource.terraform destroy
will work fine as well. Now that the resource has been destroyed, runningterraform apply
will again fail.Error message
│ Error: Provider produced inconsistent result after apply │ │ When applying changes to dbtcloud_job.job_main, provider "provider[\"registry.terraform.io/dbt-labs/dbtcloud\"]" produced an unexpected new value: Root object was present, but
│ now absent. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Resource configuration
Expected behavior
The job resource is created as inactive when
is_active = false
Config (please complete the following information):
( the version can be retrieved running the command
terraform providers
)