Closed kazuk closed 2 years ago
I run tflint with terraform_unused_declarations lint enabled
terraform_unused_declarations
Warning: variable "cdn" is declared but not used (terraform_unused_declarations)
warning reported
no warning/error.
https://github.com/terraform-google-modules/terraform-google-lb-http/blob/master/variables.tf#L209
And No hits grep "var.cdn" on "main.tf"
my `.tflint.hcl` config { module = true } plugin "google" { enabled = true version = "0.18.0" source = "github.com/terraform-linters/tflint-ruleset-google" deep_check = false } rule "terraform_unused_declarations" { enabled = true }
$ terraform --version 2022-07-15T04:44:49.907Z [INFO] Terraform version: 1.2.5
No response
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
TL;DR
I run tflint with
terraform_unused_declarations
lint enabledWarning: variable "cdn" is declared but not used (terraform_unused_declarations)
warning reported
Expected behavior
no warning/error.
Observed behavior
Warning: variable "cdn" is declared but not used (terraform_unused_declarations)
https://github.com/terraform-google-modules/terraform-google-lb-http/blob/master/variables.tf#L209
And No hits grep "var.cdn" on "main.tf"
Terraform Configuration
Terraform Version
Additional information
No response