You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the overriding issues in TFLint have been fixed in #2124, but there are still issues with overriding meta arguments. In Terraform, meta arguments are overridden and then resources are expanded, but in TFLint, they are overridden after expansion, so if the original and override meta arguments are different, the override expansion cannot be followed.
1 issue(s) found:
Error: "t2.invalid" is an invalid value as instance_type (aws_instance_invalid_type)
on main_override.tf line 4:
4: instance_type = "t${count.index + 1}.invalid"
Issues should be reported for two resources, but only one is reported.
TFLint Version
0.53.0
Terraform Version
1.9.8
Operating System
Linux
macOS
Windows
The text was updated successfully, but these errors were encountered:
Summary
See also #2114
Many of the overriding issues in TFLint have been fixed in #2124, but there are still issues with overriding meta arguments. In Terraform, meta arguments are overridden and then resources are expanded, but in TFLint, they are overridden after expansion, so if the original and override meta arguments are different, the override expansion cannot be followed.
Command
tflint
Terraform Configuration
TFLint Configuration
Output
Issues should be reported for two resources, but only one is reported.
TFLint Version
0.53.0
Terraform Version
1.9.8
Operating System
The text was updated successfully, but these errors were encountered: