Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataSourceContent ¶ added in v0.40.0
func GetDataSourceContent(r tflint.Runner, name string, schema *hclext.BodySchema, opts *tflint.GetModuleContentOption) (*hclext.BodyContent, error)
Types ¶
type AwsEphemeralResourcesRule ¶ added in v0.40.0
type AwsEphemeralResourcesRule struct { tflint.DefaultRule // contains filtered or unexported fields }
AwsEphemeralResourcesRule checks for data sources which can be replaced by ephemeral resources
func NewAwsEphemeralResourcesRule ¶ added in v0.40.0
func NewAwsEphemeralResourcesRule() *AwsEphemeralResourcesRule
NewAwsEphemeralResourcesRule returns new rule with default attributes
func (*AwsEphemeralResourcesRule) Check ¶ added in v0.40.0
func (r *AwsEphemeralResourcesRule) Check(runner tflint.Runner) error
Check checks if there is an ephemeral resource which can replace an data source
func (*AwsEphemeralResourcesRule) Enabled ¶ added in v0.40.0
func (r *AwsEphemeralResourcesRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsEphemeralResourcesRule) Link ¶ added in v0.40.0
func (r *AwsEphemeralResourcesRule) Link() string
Link returns the rule reference link
func (*AwsEphemeralResourcesRule) Name ¶ added in v0.40.0
func (r *AwsEphemeralResourcesRule) Name() string
Name returns the rule name
func (*AwsEphemeralResourcesRule) Severity ¶ added in v0.40.0
func (r *AwsEphemeralResourcesRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsWriteOnlyArgumentsRule ¶
type AwsWriteOnlyArgumentsRule struct { tflint.DefaultRule // contains filtered or unexported fields }
AwsWriteOnlyArgumentsRule checks if a write-only argument is available for sensitive input attributes
func NewAwsWriteOnlyArgumentsRule ¶
func NewAwsWriteOnlyArgumentsRule() *AwsWriteOnlyArgumentsRule
NewAwsWriteOnlyArgumentsRule returns new rule with default attributes
func (*AwsWriteOnlyArgumentsRule) Check ¶
func (r *AwsWriteOnlyArgumentsRule) Check(runner tflint.Runner) error
Check checks whether the sensitive attribute exists
func (*AwsWriteOnlyArgumentsRule) Enabled ¶
func (r *AwsWriteOnlyArgumentsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsWriteOnlyArgumentsRule) Link ¶
func (r *AwsWriteOnlyArgumentsRule) Link() string
Link returns the rule reference link
func (*AwsWriteOnlyArgumentsRule) Name ¶
func (r *AwsWriteOnlyArgumentsRule) Name() string
Name returns the rule name
func (*AwsWriteOnlyArgumentsRule) Severity ¶
func (r *AwsWriteOnlyArgumentsRule) Severity() tflint.Severity
Severity returns the rule severity