Skip to content

Commit 59282e1

Browse files
g-psantosSebastian Bär
andauthored
Add support for Terraform files (#351)
Co-authored-by: Sebastian Bär <[email protected]>
1 parent 11d8586 commit 59282e1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

doc/user_guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ recognized file types:
569569
* Rust (`.rs`)
570570
* Shell programming (`.sh`, `.bash`, `.zsh`)
571571
* Swift (`.swift`)
572+
* Terraform (`.tf`, `.tfvars`)
572573
* Windows batch files (`.bat`)
573574

574575
**Markup languages**

importer/tag/src/main/java/org/itsallcode/openfasttrace/importer/tag/TagImporterFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class TagImporterFactory extends ImporterFactory
3939
"rs", // Rust
4040
"sh", "bash", "zsh", // Shell programming
4141
"swift", // Swift
42+
"tf", "tfvars", // Terraform
4243
"sql", "pls" // Database related
4344
);
4445

importer/tag/src/test/java/org/itsallcode/openfasttrace/importer/tag/TestTagImporterFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected List<String> getSupportedFilenames()
3030
"foo.htm", "foo.html", "foo.ini", "foo.js", "foo.ts", "foo.json", "foo.lua", "foo.m",
3131
"foo.mm", "foo.php", "foo.pl", "foo.pls", "foo.pm", "foo.py", "foo.sql", "foo.r",
3232
"foo.rs", "foo.sh", "foo.yaml", "foo.xhtml", "foo.zsh", "foo.clj", "foo.kt", "foo.scala",
33-
"foo.pu", "foo.puml", "foo.plantuml", "foo.go", "foo.robot");
33+
"foo.pu", "foo.puml", "foo.plantuml", "foo.go", "foo.robot", "foo.tf", "foo.tfvars");
3434
}
3535

3636
@Override

0 commit comments

Comments
 (0)