How to disable specific instance of rule violation #182
-
I have a shared/remote module, which in turn has "internal" (child?) modules:
module "child" {
source = "./modules/child"
providers = {
aws = aws
}
}
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.26"
}
}
required_version = ">= 1.5.0"
} I want to control all the versioning from the root, since the internal modules "can't" be used independently. But if I don't copy-paste (repeat) the How can I disable it for the children? Or is this a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since the root module and child modules can each have settings, you can disable the |
Beta Was this translation helpful? Give feedback.
Since the root module and child modules can each have settings, you can disable the
terraform_required_version
rule in child modules by placing.tflint.hcl
.