You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use nixos_image_custom to create a NixOS image from a given NixOS configuration and put it into a bucket. Then I use this image in google_compute_instance_template (via disk.source_image). The problem is that when I change the configuration I get the following error:
* google_compute_instance_template.buildkite_nixos: 1 error occurred:
* google_compute_instance_template.buildkite_nixos: reading body EOF
So I have to go delete the instance group first, then delete the template, and only after that I can run terraform plan and terraform apply. What should be happening instead is that terraform should be able to figure out that it should drop the old object in the bucket (containing the old image) and create a new object with the new image, then it should re-create template and instances accordingly.
The text was updated successfully, but these errors were encountered:
I use
nixos_image_custom
to create a NixOS image from a given NixOS configuration and put it into a bucket. Then I use this image ingoogle_compute_instance_template
(viadisk.source_image
). The problem is that when I change the configuration I get the following error:So I have to go delete the instance group first, then delete the template, and only after that I can run
terraform plan
andterraform apply
. What should be happening instead is that terraform should be able to figure out that it should drop the old object in the bucket (containing the old image) and create a new object with the new image, then it should re-create template and instances accordingly.The text was updated successfully, but these errors were encountered: