-
Notifications
You must be signed in to change notification settings - Fork 483
Open
Labels
Description
For block with more than source and version, after the swap the indentation maybe incorrect resulting in a lint error:
module "gce-lb-https" {
project = var.project
source = "terraform-google-modules/lb-http/google"
version = "~> 10.0"
module "gce-lb-https" {
project = var.project
source = "../.." # [restore-marker] source = "terraform-google-modules/lb-http/google"
A quick fix is to break up the block:
module "gce-lb-https" {
source = "terraform-google-modules/lb-http/google"
version = "~> 10.0"
project = var.project