generated from terraform-linters/tflint-ruleset-template
-
Notifications
You must be signed in to change notification settings - Fork 19
/
main.go
21 lines (19 loc) · 536 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package main
import (
"github.com/terraform-linters/tflint-plugin-sdk/plugin"
"github.com/terraform-linters/tflint-plugin-sdk/tflint"
"github.com/terraform-linters/tflint-ruleset-google/google"
"github.com/terraform-linters/tflint-ruleset-google/project"
"github.com/terraform-linters/tflint-ruleset-google/rules"
)
func main() {
plugin.Serve(&plugin.ServeOpts{
RuleSet: &google.RuleSet{
BuiltinRuleSet: tflint.BuiltinRuleSet{
Name: "google",
Version: project.Version,
Rules: rules.Rules,
},
},
})
}