-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing job's project_id
attribute does not force replacement
#257
Comments
Thanks. I will update the provider to force a new job when the project changes. |
As a side note, are you still using the I was thinking of doing the change for this bug only be released for |
Hey @b-per ! Thanks, as always, for such speedy & thorough responses! Appreciate you. Yea, we're still using an instance of the THANK YOU! |
Hey, @b-per – thought about this a little more. I actually think it'd be great to have the change apply to That way, I can upgrade to the latest version for |
Understood. I released |
Describe the bug
Hello! We ran into a weird issue recently where we updated the
project_id
andenvironment_id
attributes associated with a pre-existingdbt_cloud_job
resource. Instead of doing a replacement (destroy + create), Terraform tried to do an update-in-place operation, which seemed odd.Error message
When attempting an
apply
, we got the following404
error:Resource configuration
Expected behavior
I would expect Terraform to do a replacement of the job in this instance. Delete it from the project in which it was originally created & then create it in the new project associated with the new
project_id
value.I think
apply
failed because it was trying to locate the job in the new project and couldn't find it, since it still existed in the old project??Config (please complete the following information):
( the version can be retrieved running the command
terraform providers
)"0.2.6"
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: