The --module
Flag does not work - Nevermind
#1533
-
For some reason the module flag is not working for me, or I'm misunderstanding what it's supposed to do. It seems like it's not linting the code inside the modules and my assumption is that it should be. Code./main.tf module "do_something" {
source = "./modules/module1"
name = "some_name"
location = "eastus"
}
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.0"
}
}
required_version = ">= 1.0"
} ./modules/module1/main.tf resource "azurerm_resource_group" "DefaultResource" {
name = var.name
location = var.location
} ./modules/module1/variables.tf variable "name" {
description = "Name"
type = string
}
variable "location" {
description = "Location"
type = string
} ./.tflint.hcl plugin "terraform" {
enabled = true
preset = "all"
} There are also empty Am I just misunderstanding how |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Missed it at the bottom of the README |
Beta Was this translation helpful? Give feedback.
Missed it at the bottom of the README