tflint-ruleset-google
tflint-ruleset-google copied to clipboard
[proposal] Warn google_compute_instance without ignore_changes when defined google_compute_attached_disk
trafficstars
See https://www.terraform.io/docs/providers/google/r/compute_attached_disk.html
Note: When using google_compute_attached_disk you must use lifecycle.ignore_changes = ["attached_disk"] on the google_compute_instance resource that has the disks attached. Otherwise the two resources will fight for control of the attached disk block.