tflint

package
v0.60.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 11 Imported by: 0

README

tflint

This package allows us to embed tflint in Terragrunt, enabling it to be natively executed from the before and after hooks without having to install tflint separately. Since tflint is licensed with MPL, we are required to let you know where you can find its source code: https://github.com/terraform-linters/tflint.

Documentation

Overview

Package tflint embeds execution of tflint, which is under an MPL license, and you can find its source code at https://github.com/terraform-linters/tflint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTflintWithOpts

func RunTflintWithOpts(ctx context.Context, opts *options.TerragruntOptions, config *config.TerragruntConfig, hook config.Hook) error

RunTflintWithOpts runs tflint with the given options and returns an error if there are any issues.

Types

type ConfigNotFound

type ConfigNotFound struct {
	// contains filtered or unexported fields
}

func (ConfigNotFound) Error

func (err ConfigNotFound) Error() string

type ErrorRunningTflint

type ErrorRunningTflint struct {
	// contains filtered or unexported fields
}

func (ErrorRunningTflint) Error

func (err ErrorRunningTflint) Error() string

type IssuesFound

type IssuesFound struct{}

func (IssuesFound) Error

func (err IssuesFound) Error() string

type UnknownError

type UnknownError struct {
	// contains filtered or unexported fields
}

func (UnknownError) Error

func (err UnknownError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL