Skip to content

Commit

Permalink
fix(terraform): Support tfvars (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
simar7 authored May 10, 2023
1 parent ec3906c commit 2f318ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fanal/analyzer/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var (
_ analyzer.PostAnalyzer = (*Analyzer)(nil)

requiredExts = []string{".json", ".yaml", ".yml"}
requiredExts = []string{".json", ".yaml", ".yml", ".tfvars"}
)

// Analyzer represents an analyzer for config files,
Expand Down
1 change: 1 addition & 0 deletions pkg/fanal/analyzer/config/terraform/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const (
var requiredExts = []string{
".tf",
".tf.json",
".tfvars",
}

func init() {
Expand Down

0 comments on commit 2f318ce

Please sign in to comment.