tflint-ruleset-google icon indicating copy to clipboard operation
tflint-ruleset-google copied to clipboard

[proposal] Warn google_compute_instance_group without create_before_destroy

Open wata727 opened this issue 5 years ago • 1 comments
trafficstars

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.

wata727 avatar Sep 26 '20 14:09 wata727

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

PatMyron avatar Feb 02 '22 09:02 PatMyron