diff --git a/.tflint_alt.hcl b/.tflint_alt.hcl index a4e2e01..acc0048 100644 --- a/.tflint_alt.hcl +++ b/.tflint_alt.hcl @@ -133,7 +133,7 @@ rule "terraform_comment_syntax" { } rule "terraform_deprecated_index" { - enabled = false + enabled = true } rule "terraform_deprecated_interpolation" { diff --git a/outputs.tf b/outputs.tf index 708080b..e4dc00e 100644 --- a/outputs.tf +++ b/outputs.tf @@ -20,7 +20,7 @@ output "vnet_name" { output "vnet_subnets" { description = "The ids of subnets created inside the newly created vNet" - value = azurerm_subnet.subnet.*.id + value = azurerm_subnet.subnet[*].id } output "vnet_subnets_name_id" {