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
For these reasons, using override files can sometimes produce different results than Terraform would, or can lead to inconsistent results like those in terraform-linters/tflint-ruleset-terraform#205.
This inconsistent result is caused by which the terraform block is overwritten and which block is retrieved by the terraform_required_providers rule. If the block is retrieved that was not overwritten, this rule will emit an issue.
Ideally, the Terraform blocks in main.tf and main2.tf should be merged first.
TFLint Version
0.53.0
Terraform Version
No response
Operating System
Linux
macOS
Windows
The text was updated successfully, but these errors were encountered:
Summary
TFLint supports Terraform override files, but is not fully compliant with the spec.
For these reasons, using override files can sometimes produce different results than Terraform would, or can lead to inconsistent results like those in terraform-linters/tflint-ruleset-terraform#205.
Command
tflint
Terraform Configuration
TFLint Configuration
# empty file
Output
This inconsistent result is caused by which the
terraform
block is overwritten and which block is retrieved by theterraform_required_providers
rule. If the block is retrieved that was not overwritten, this rule will emit an issue.Ideally, the Terraform blocks in
main.tf
andmain2.tf
should be merged first.TFLint Version
0.53.0
Terraform Version
No response
Operating System
The text was updated successfully, but these errors were encountered: