For some reason, any time I create a new static IP via the
google_compute_address resource, terraform plan/apply gives me the must be replaced on any
google_compute_forwarding_rule resource on the same network. This, of course, is not ideal.
My current workaround is to use the
-target flag to only update the
google_compute_address resource, followed by an apply run without targeting if there are other changes to be made, but I’m hoping to find a more elegant solution. Especially since I get a warning message when I do this about Resource targeting is in effect.
Thanks for any help.