Open wata727 opened 4 years ago
See https://www.terraform.io/docs/providers/google/r/compute_instance_group.html
Recreating an instance group that's in use by another resource will give a resourceInUseByAnotherResource error. You can avoid this error with a Terraform lifecycle block as outlined in the example below.
https://github.com/terraform-linters/tflint-ruleset-aws/pull/202
Same thoughts on this as https://github.com/terraform-linters/tflint-ruleset-google/issues/23#issuecomment-1027626936
See https://www.terraform.io/docs/providers/google/r/compute_instance_group.html