Attempt to index null value when using the aws_resource_missing_tags rule #2020
Unanswered
igoratencompass
asked this question in
Q&A
Replies: 1 comment
-
The information provided is not sufficient to say what's going on. It's certainly not a bug though. More than likely you're just not configuring your varfile: https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md#varfile |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
My first time using the repo so hope this is the right place to log the error I'm getting. I have the following terraform config:
The vars:
the module call:
and the local var that the error complains about:
and the error I get:
Seems the problem is in the
local
var where the parser thinks ${var.tags["environment"]} and ${var.tags["customer"] are null for some reason.Beta Was this translation helpful? Give feedback.
All reactions