Versions in this module Expand all Collapse all v0 v0.6.0 Jan 30, 2024 v0.5.1 Jan 17, 2024 Changes in this version + var Rules = []tflint.Rule + func AssertIssues(t *testing.T, expected helper.Issues, actual helper.Issues) + func Check(runner tflint.Runner, check func(tflint.Runner, *hcl.File) error) error + func IsHeadMeta(argName string) bool + func IsTailMeta(argName string) bool + type Arg struct + File *hcl.File + Name string + Range hcl.Range + func (a *Arg) ToString() string + type Args struct + Args []*Arg + Range *hcl.Range + func (a *Args) CheckOrder() bool + func (a *Args) GetRange() *hcl.Range + func (a *Args) ToString() string + type AzurermArgOrderRule struct + func NewAzurermArgOrderRule() *AzurermArgOrderRule + func (r *AzurermArgOrderRule) Check(runner tflint.Runner) error + func (r *AzurermArgOrderRule) CheckFile(runner tflint.Runner, file *hcl.File) error + func (r *AzurermArgOrderRule) Enabled() bool + func (r *AzurermArgOrderRule) Link() string + func (r *AzurermArgOrderRule) Name() string + func (r *AzurermArgOrderRule) Severity() tflint.Severity + type AzurermResourceTagRule struct + func NewAzurermResourceTagRule() *AzurermResourceTagRule + func (r *AzurermResourceTagRule) Check(runner tflint.Runner) error + func (r *AzurermResourceTagRule) CheckFile(runner tflint.Runner, file *hcl.File) error + func (r *AzurermResourceTagRule) Enabled() bool + func (r *AzurermResourceTagRule) Link() string + func (r *AzurermResourceTagRule) Name() string + func (r *AzurermResourceTagRule) Severity() tflint.Severity + type Block interface + CheckBlock func() error + DefRange func() hcl.Range + ToString func() string + type HeadMetaArgs struct + Args []*Arg + Range *hcl.Range + func (a *HeadMetaArgs) CheckOrder() bool + func (a *HeadMetaArgs) GetRange() *hcl.Range + func (a *HeadMetaArgs) ToString() string + type NestedBlock struct + Block *hclsyntax.Block + File *hcl.File + HeadMetaArgs *HeadMetaArgs + Name string + OptionalArgs *Args + OptionalNestedBlocks *NestedBlocks + ParentBlockNames []string + Range hcl.Range + RequiredArgs *Args + RequiredNestedBlocks *NestedBlocks + SortField string + func (b *NestedBlock) CheckBlock() error + func (b *NestedBlock) CheckOrder() bool + func (b *NestedBlock) DefRange() hcl.Range + func (b *NestedBlock) ToString() string + type NestedBlocks struct + Blocks []*NestedBlock + Range *hcl.Range + func (b *NestedBlocks) CheckOrder() bool + func (b *NestedBlocks) GetRange() *hcl.Range + func (b *NestedBlocks) ToString() string + type ResourceBlock struct + Block *hclsyntax.Block + File *hcl.File + HeadMetaArgs *HeadMetaArgs + OptionalArgs *Args + OptionalNestedBlocks *NestedBlocks + ParentBlockNames []string + RequiredArgs *Args + RequiredNestedBlocks *NestedBlocks + TailMetaArgs *Args + TailMetaNestedBlocks *NestedBlocks + func BuildResourceBlock(block *hclsyntax.Block, file *hcl.File, emitter func(block Block) error) *ResourceBlock + func (b *ResourceBlock) CheckBlock() error + func (b *ResourceBlock) CheckOrder() bool + func (b *ResourceBlock) DefRange() hcl.Range + func (b *ResourceBlock) ToString() string + type Section interface + CheckOrder func() bool + GetRange func() *hcl.Range + ToString func() string