Documentation
¶
Index ¶
- Variables
- type AwsDBInstanceDefaultParameterGroupRule
- func (r *AwsDBInstanceDefaultParameterGroupRule) Check(runner tflint.Runner) error
- func (r *AwsDBInstanceDefaultParameterGroupRule) Enabled() bool
- func (r *AwsDBInstanceDefaultParameterGroupRule) Link() string
- func (r *AwsDBInstanceDefaultParameterGroupRule) Name() string
- func (r *AwsDBInstanceDefaultParameterGroupRule) Severity() string
- type AwsDBInstanceInvalidEngineRule
- type AwsDBInstanceInvalidTypeRule
- type AwsDBInstancePreviousTypeRule
- type AwsDynamoDBTableInvalidStreamViewTypeRule
- func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Check(runner tflint.Runner) error
- func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Enabled() bool
- func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Link() string
- func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Name() string
- func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Severity() string
- type AwsElastiCacheClusterDefaultParameterGroupRule
- func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Check(runner tflint.Runner) error
- func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Enabled() bool
- func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Link() string
- func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Name() string
- func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Severity() string
- type AwsElastiCacheClusterInvalidTypeRule
- func (r *AwsElastiCacheClusterInvalidTypeRule) Check(runner tflint.Runner) error
- func (r *AwsElastiCacheClusterInvalidTypeRule) Enabled() bool
- func (r *AwsElastiCacheClusterInvalidTypeRule) Link() string
- func (r *AwsElastiCacheClusterInvalidTypeRule) Name() string
- func (r *AwsElastiCacheClusterInvalidTypeRule) Severity() string
- type AwsElastiCacheClusterPreviousTypeRule
- func (r *AwsElastiCacheClusterPreviousTypeRule) Check(runner tflint.Runner) error
- func (r *AwsElastiCacheClusterPreviousTypeRule) Enabled() bool
- func (r *AwsElastiCacheClusterPreviousTypeRule) Link() string
- func (r *AwsElastiCacheClusterPreviousTypeRule) Name() string
- func (r *AwsElastiCacheClusterPreviousTypeRule) Severity() string
- type AwsIAMPolicyDocumentGovFriendlyArnsRule
- func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Check(runner tflint.Runner) error
- func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Enabled() bool
- func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Link() string
- func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Name() string
- func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Severity() string
- type AwsIAMPolicyGovFriendlyArnsRule
- func (r *AwsIAMPolicyGovFriendlyArnsRule) Check(runner tflint.Runner) error
- func (r *AwsIAMPolicyGovFriendlyArnsRule) Enabled() bool
- func (r *AwsIAMPolicyGovFriendlyArnsRule) Link() string
- func (r *AwsIAMPolicyGovFriendlyArnsRule) Name() string
- func (r *AwsIAMPolicyGovFriendlyArnsRule) Severity() string
- type AwsIAMRolePolicyGovFriendlyArnsRule
- func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Check(runner tflint.Runner) error
- func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Enabled() bool
- func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Link() string
- func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Name() string
- func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Severity() string
- type AwsInstancePreviousTypeRule
- type AwsMqBrokerInvalidEngineTypeRule
- func (r *AwsMqBrokerInvalidEngineTypeRule) Check(runner tflint.Runner) error
- func (r *AwsMqBrokerInvalidEngineTypeRule) Enabled() bool
- func (r *AwsMqBrokerInvalidEngineTypeRule) Link() string
- func (r *AwsMqBrokerInvalidEngineTypeRule) Name() string
- func (r *AwsMqBrokerInvalidEngineTypeRule) Severity() string
- type AwsMqConfigurationInvalidEngineTypeRule
- func (r *AwsMqConfigurationInvalidEngineTypeRule) Check(runner tflint.Runner) error
- func (r *AwsMqConfigurationInvalidEngineTypeRule) Enabled() bool
- func (r *AwsMqConfigurationInvalidEngineTypeRule) Link() string
- func (r *AwsMqConfigurationInvalidEngineTypeRule) Name() string
- func (r *AwsMqConfigurationInvalidEngineTypeRule) Severity() string
- type AwsResourceMissingTagsRule
- type AwsRouteNotSpecifiedTargetRule
- type AwsRouteSpecifiedMultipleTargetsRule
- func (r *AwsRouteSpecifiedMultipleTargetsRule) Check(runner tflint.Runner) error
- func (r *AwsRouteSpecifiedMultipleTargetsRule) Enabled() bool
- func (r *AwsRouteSpecifiedMultipleTargetsRule) Link() string
- func (r *AwsRouteSpecifiedMultipleTargetsRule) Name() string
- func (r *AwsRouteSpecifiedMultipleTargetsRule) Severity() string
- type AwsS3BucketInvalidACLRule
- type AwsS3BucketInvalidRegionRule
- type AwsS3BucketNameRule
- type AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule
- func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Check(runner tflint.Runner) error
- func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Enabled() bool
- func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Link() string
- func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Name() string
- func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Severity() string
Constants ¶
This section is empty.
Variables ¶
var Rules = append([]tflint.Rule{ NewAwsDBInstanceDefaultParameterGroupRule(), NewAwsDBInstanceInvalidEngineRule(), NewAwsDBInstanceInvalidTypeRule(), NewAwsDBInstancePreviousTypeRule(), NewAwsDynamoDBTableInvalidStreamViewTypeRule(), NewAwsElastiCacheClusterDefaultParameterGroupRule(), NewAwsElastiCacheClusterInvalidTypeRule(), NewAwsElastiCacheClusterPreviousTypeRule(), NewAwsIAMPolicyDocumentGovFriendlyArnsRule(), NewAwsIAMPolicyGovFriendlyArnsRule(), NewAwsIAMRolePolicyGovFriendlyArnsRule(), NewAwsInstancePreviousTypeRule(), NewAwsMqBrokerInvalidEngineTypeRule(), NewAwsMqConfigurationInvalidEngineTypeRule(), NewAwsResourceMissingTagsRule(), NewAwsRouteNotSpecifiedTargetRule(), NewAwsRouteSpecifiedMultipleTargetsRule(), NewAwsS3BucketInvalidACLRule(), NewAwsS3BucketInvalidRegionRule(), NewAwsS3BucketNameRule(), NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule(), }, models.Rules...)
Rules is a list of all rules
Functions ¶
This section is empty.
Types ¶
type AwsDBInstanceDefaultParameterGroupRule ¶
type AwsDBInstanceDefaultParameterGroupRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceDefaultParameterGroupRule checks whether the db instance use default parameter group
func NewAwsDBInstanceDefaultParameterGroupRule ¶
func NewAwsDBInstanceDefaultParameterGroupRule() *AwsDBInstanceDefaultParameterGroupRule
NewAwsDBInstanceDefaultParameterGroupRule returns new rule with default attributes
func (*AwsDBInstanceDefaultParameterGroupRule) Check ¶
func (r *AwsDBInstanceDefaultParameterGroupRule) Check(runner tflint.Runner) error
Check checks the parameter group name starts with `default`
func (*AwsDBInstanceDefaultParameterGroupRule) Enabled ¶
func (r *AwsDBInstanceDefaultParameterGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceDefaultParameterGroupRule) Link ¶
func (r *AwsDBInstanceDefaultParameterGroupRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceDefaultParameterGroupRule) Name ¶
func (r *AwsDBInstanceDefaultParameterGroupRule) Name() string
Name returns the rule name
func (*AwsDBInstanceDefaultParameterGroupRule) Severity ¶
func (r *AwsDBInstanceDefaultParameterGroupRule) Severity() string
Severity returns the rule severity
type AwsDBInstanceInvalidEngineRule ¶ added in v0.3.0
type AwsDBInstanceInvalidEngineRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceInvalidEngineRule checks whether "aws_db_instance" has invalid engine.
func NewAwsDBInstanceInvalidEngineRule ¶ added in v0.3.0
func NewAwsDBInstanceInvalidEngineRule() *AwsDBInstanceInvalidEngineRule
NewAwsDBInstanceInvalidEngineRule returns new rule with default attributes
func (*AwsDBInstanceInvalidEngineRule) Check ¶ added in v0.3.0
func (r *AwsDBInstanceInvalidEngineRule) Check(runner tflint.Runner) error
Check checks whether "aws_db_instance" has invalid engine.
func (*AwsDBInstanceInvalidEngineRule) Enabled ¶ added in v0.3.0
func (r *AwsDBInstanceInvalidEngineRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceInvalidEngineRule) Link ¶ added in v0.3.0
func (r *AwsDBInstanceInvalidEngineRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceInvalidEngineRule) Name ¶ added in v0.3.0
func (r *AwsDBInstanceInvalidEngineRule) Name() string
Name returns the rule name
func (*AwsDBInstanceInvalidEngineRule) Severity ¶ added in v0.3.0
func (r *AwsDBInstanceInvalidEngineRule) Severity() string
Severity returns the rule severity
type AwsDBInstanceInvalidTypeRule ¶
type AwsDBInstanceInvalidTypeRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceInvalidTypeRule checks whether "aws_db_instance" has invalid intance type.
func NewAwsDBInstanceInvalidTypeRule ¶
func NewAwsDBInstanceInvalidTypeRule() *AwsDBInstanceInvalidTypeRule
NewAwsDBInstanceInvalidTypeRule returns new rule with default attributes
func (*AwsDBInstanceInvalidTypeRule) Check ¶
func (r *AwsDBInstanceInvalidTypeRule) Check(runner tflint.Runner) error
Check checks whether "aws_db_instance" has invalid instance type.
func (*AwsDBInstanceInvalidTypeRule) Enabled ¶
func (r *AwsDBInstanceInvalidTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceInvalidTypeRule) Link ¶
func (r *AwsDBInstanceInvalidTypeRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceInvalidTypeRule) Name ¶
func (r *AwsDBInstanceInvalidTypeRule) Name() string
Name returns the rule name
func (*AwsDBInstanceInvalidTypeRule) Severity ¶
func (r *AwsDBInstanceInvalidTypeRule) Severity() string
Severity returns the rule severity
type AwsDBInstancePreviousTypeRule ¶
type AwsDBInstancePreviousTypeRule struct {
// contains filtered or unexported fields
}
AwsDBInstancePreviousTypeRule checks whether the resource uses previous generation instance type
func NewAwsDBInstancePreviousTypeRule ¶
func NewAwsDBInstancePreviousTypeRule() *AwsDBInstancePreviousTypeRule
NewAwsDBInstancePreviousTypeRule returns new rule with default attributes
func (*AwsDBInstancePreviousTypeRule) Check ¶
func (r *AwsDBInstancePreviousTypeRule) Check(runner tflint.Runner) error
Check checks whether the resource's `instance_class` is included in the list of previous generation instance type
func (*AwsDBInstancePreviousTypeRule) Enabled ¶
func (r *AwsDBInstancePreviousTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstancePreviousTypeRule) Link ¶
func (r *AwsDBInstancePreviousTypeRule) Link() string
Link returns the rule reference link
func (*AwsDBInstancePreviousTypeRule) Name ¶
func (r *AwsDBInstancePreviousTypeRule) Name() string
Name returns the rule name
func (*AwsDBInstancePreviousTypeRule) Severity ¶
func (r *AwsDBInstancePreviousTypeRule) Severity() string
Severity returns the rule severity
type AwsDynamoDBTableInvalidStreamViewTypeRule ¶
type AwsDynamoDBTableInvalidStreamViewTypeRule struct {
// contains filtered or unexported fields
}
AwsDynamoDBTableInvalidStreamViewTypeRule checks the pattern is valid
func NewAwsDynamoDBTableInvalidStreamViewTypeRule ¶
func NewAwsDynamoDBTableInvalidStreamViewTypeRule() *AwsDynamoDBTableInvalidStreamViewTypeRule
NewAwsDynamoDBTableInvalidStreamViewTypeRule returns new rule with default attributes
func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Check ¶
func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Enabled ¶
func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Link ¶
func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Link() string
Link returns the rule reference link
func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Name ¶
func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Name() string
Name returns the rule name
func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Severity ¶
func (r *AwsDynamoDBTableInvalidStreamViewTypeRule) Severity() string
Severity returns the rule severity
type AwsElastiCacheClusterDefaultParameterGroupRule ¶
type AwsElastiCacheClusterDefaultParameterGroupRule struct {
// contains filtered or unexported fields
}
AwsElastiCacheClusterDefaultParameterGroupRule checks whether the cluster use default parameter group
func NewAwsElastiCacheClusterDefaultParameterGroupRule ¶
func NewAwsElastiCacheClusterDefaultParameterGroupRule() *AwsElastiCacheClusterDefaultParameterGroupRule
NewAwsElastiCacheClusterDefaultParameterGroupRule returns new rule with default attributes
func (*AwsElastiCacheClusterDefaultParameterGroupRule) Check ¶
func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Check(runner tflint.Runner) error
Check checks the parameter group name starts with `default`
func (*AwsElastiCacheClusterDefaultParameterGroupRule) Enabled ¶
func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheClusterDefaultParameterGroupRule) Link ¶
func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheClusterDefaultParameterGroupRule) Name ¶
func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Name() string
Name returns the rule name
func (*AwsElastiCacheClusterDefaultParameterGroupRule) Severity ¶
func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Severity() string
Severity returns the rule severity
type AwsElastiCacheClusterInvalidTypeRule ¶
type AwsElastiCacheClusterInvalidTypeRule struct {
// contains filtered or unexported fields
}
AwsElastiCacheClusterInvalidTypeRule checks whether "aws_elasticache_cluster" has invalid node type.
func NewAwsElastiCacheClusterInvalidTypeRule ¶
func NewAwsElastiCacheClusterInvalidTypeRule() *AwsElastiCacheClusterInvalidTypeRule
NewAwsElastiCacheClusterInvalidTypeRule returns new rule with default attributes
func (*AwsElastiCacheClusterInvalidTypeRule) Check ¶
func (r *AwsElastiCacheClusterInvalidTypeRule) Check(runner tflint.Runner) error
Check checks whether "aws_elasticache_cluster" has invalid node type.
func (*AwsElastiCacheClusterInvalidTypeRule) Enabled ¶
func (r *AwsElastiCacheClusterInvalidTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheClusterInvalidTypeRule) Link ¶
func (r *AwsElastiCacheClusterInvalidTypeRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheClusterInvalidTypeRule) Name ¶
func (r *AwsElastiCacheClusterInvalidTypeRule) Name() string
Name returns the rule name
func (*AwsElastiCacheClusterInvalidTypeRule) Severity ¶
func (r *AwsElastiCacheClusterInvalidTypeRule) Severity() string
Severity returns the rule severity
type AwsElastiCacheClusterPreviousTypeRule ¶
type AwsElastiCacheClusterPreviousTypeRule struct {
// contains filtered or unexported fields
}
AwsElastiCacheClusterPreviousTypeRule checks whether the resource uses previous generation node type
func NewAwsElastiCacheClusterPreviousTypeRule ¶
func NewAwsElastiCacheClusterPreviousTypeRule() *AwsElastiCacheClusterPreviousTypeRule
NewAwsElastiCacheClusterPreviousTypeRule returns new rule with default attributes
func (*AwsElastiCacheClusterPreviousTypeRule) Check ¶
func (r *AwsElastiCacheClusterPreviousTypeRule) Check(runner tflint.Runner) error
Check checks whether the resource's `node_type` is included in the list of previous generation node type
func (*AwsElastiCacheClusterPreviousTypeRule) Enabled ¶
func (r *AwsElastiCacheClusterPreviousTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheClusterPreviousTypeRule) Link ¶
func (r *AwsElastiCacheClusterPreviousTypeRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheClusterPreviousTypeRule) Name ¶
func (r *AwsElastiCacheClusterPreviousTypeRule) Name() string
Name returns the rule name
func (*AwsElastiCacheClusterPreviousTypeRule) Severity ¶
func (r *AwsElastiCacheClusterPreviousTypeRule) Severity() string
Severity returns the rule severity
type AwsIAMPolicyDocumentGovFriendlyArnsRule ¶ added in v0.3.0
type AwsIAMPolicyDocumentGovFriendlyArnsRule struct {
// contains filtered or unexported fields
}
AwsIAMPolicyDocumentGovFriendlyArnsRule checks for non-GovCloud arns
func NewAwsIAMPolicyDocumentGovFriendlyArnsRule ¶ added in v0.3.0
func NewAwsIAMPolicyDocumentGovFriendlyArnsRule() *AwsIAMPolicyDocumentGovFriendlyArnsRule
AwsIAMPolicyDocumentGovFriendlyArnsRule returns new rule with default attributes
func (*AwsIAMPolicyDocumentGovFriendlyArnsRule) Check ¶ added in v0.3.0
func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsIAMPolicyDocumentGovFriendlyArnsRule) Enabled ¶ added in v0.3.0
func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsIAMPolicyDocumentGovFriendlyArnsRule) Link ¶ added in v0.3.0
func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Link() string
Link returns the rule reference link
func (*AwsIAMPolicyDocumentGovFriendlyArnsRule) Name ¶ added in v0.3.0
func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Name() string
Name returns the rule name
func (*AwsIAMPolicyDocumentGovFriendlyArnsRule) Severity ¶ added in v0.3.0
func (r *AwsIAMPolicyDocumentGovFriendlyArnsRule) Severity() string
Severity returns the rule severity
type AwsIAMPolicyGovFriendlyArnsRule ¶ added in v0.3.0
type AwsIAMPolicyGovFriendlyArnsRule struct {
// contains filtered or unexported fields
}
AwsIAMPolicyGovFriendlyArnsRule checks for non-GovCloud arns
func NewAwsIAMPolicyGovFriendlyArnsRule ¶ added in v0.3.0
func NewAwsIAMPolicyGovFriendlyArnsRule() *AwsIAMPolicyGovFriendlyArnsRule
NewAwsIAMPolicyInvalidPolicyRule returns new rule with default attributes
func (*AwsIAMPolicyGovFriendlyArnsRule) Check ¶ added in v0.3.0
func (r *AwsIAMPolicyGovFriendlyArnsRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsIAMPolicyGovFriendlyArnsRule) Enabled ¶ added in v0.3.0
func (r *AwsIAMPolicyGovFriendlyArnsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsIAMPolicyGovFriendlyArnsRule) Link ¶ added in v0.3.0
func (r *AwsIAMPolicyGovFriendlyArnsRule) Link() string
Link returns the rule reference link
func (*AwsIAMPolicyGovFriendlyArnsRule) Name ¶ added in v0.3.0
func (r *AwsIAMPolicyGovFriendlyArnsRule) Name() string
Name returns the rule name
func (*AwsIAMPolicyGovFriendlyArnsRule) Severity ¶ added in v0.3.0
func (r *AwsIAMPolicyGovFriendlyArnsRule) Severity() string
Severity returns the rule severity
type AwsIAMRolePolicyGovFriendlyArnsRule ¶ added in v0.3.0
type AwsIAMRolePolicyGovFriendlyArnsRule struct {
// contains filtered or unexported fields
}
AwsIAMRolePolicyGovFriendlyArnsRule checks for non-GovCloud arns
func NewAwsIAMRolePolicyGovFriendlyArnsRule ¶ added in v0.3.0
func NewAwsIAMRolePolicyGovFriendlyArnsRule() *AwsIAMRolePolicyGovFriendlyArnsRule
NewAwsIAMRolePolicyInvalidPolicyRule returns new rule with default attributes
func (*AwsIAMRolePolicyGovFriendlyArnsRule) Check ¶ added in v0.3.0
func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsIAMRolePolicyGovFriendlyArnsRule) Enabled ¶ added in v0.3.0
func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsIAMRolePolicyGovFriendlyArnsRule) Link ¶ added in v0.3.0
func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Link() string
Link returns the rule reference link
func (*AwsIAMRolePolicyGovFriendlyArnsRule) Name ¶ added in v0.3.0
func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Name() string
Name returns the rule name
func (*AwsIAMRolePolicyGovFriendlyArnsRule) Severity ¶ added in v0.3.0
func (r *AwsIAMRolePolicyGovFriendlyArnsRule) Severity() string
Severity returns the rule severity
type AwsInstancePreviousTypeRule ¶
type AwsInstancePreviousTypeRule struct {
// contains filtered or unexported fields
}
AwsInstancePreviousTypeRule checks whether the resource uses previous generation instance type
func NewAwsInstancePreviousTypeRule ¶
func NewAwsInstancePreviousTypeRule() *AwsInstancePreviousTypeRule
NewAwsInstancePreviousTypeRule returns new rule with default attributes
func (*AwsInstancePreviousTypeRule) Check ¶
func (r *AwsInstancePreviousTypeRule) Check(runner tflint.Runner) error
Check checks whether the resource's `instance_type` is included in the list of previous generation instance type
func (*AwsInstancePreviousTypeRule) Enabled ¶
func (r *AwsInstancePreviousTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstancePreviousTypeRule) Link ¶
func (r *AwsInstancePreviousTypeRule) Link() string
Link returns the rule reference link
func (*AwsInstancePreviousTypeRule) Name ¶
func (r *AwsInstancePreviousTypeRule) Name() string
Name returns the rule name
func (*AwsInstancePreviousTypeRule) Severity ¶
func (r *AwsInstancePreviousTypeRule) Severity() string
Severity returns the rule severity
type AwsMqBrokerInvalidEngineTypeRule ¶
type AwsMqBrokerInvalidEngineTypeRule struct {
// contains filtered or unexported fields
}
AwsMqBrokerInvalidEngineTypeRule checks the pattern is valid
func NewAwsMqBrokerInvalidEngineTypeRule ¶
func NewAwsMqBrokerInvalidEngineTypeRule() *AwsMqBrokerInvalidEngineTypeRule
NewAwsMqBrokerInvalidEngineTypeRule returns new rule with default attributes
func (*AwsMqBrokerInvalidEngineTypeRule) Check ¶
func (r *AwsMqBrokerInvalidEngineTypeRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsMqBrokerInvalidEngineTypeRule) Enabled ¶
func (r *AwsMqBrokerInvalidEngineTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsMqBrokerInvalidEngineTypeRule) Link ¶
func (r *AwsMqBrokerInvalidEngineTypeRule) Link() string
Link returns the rule reference link
func (*AwsMqBrokerInvalidEngineTypeRule) Name ¶
func (r *AwsMqBrokerInvalidEngineTypeRule) Name() string
Name returns the rule name
func (*AwsMqBrokerInvalidEngineTypeRule) Severity ¶
func (r *AwsMqBrokerInvalidEngineTypeRule) Severity() string
Severity returns the rule severity
type AwsMqConfigurationInvalidEngineTypeRule ¶
type AwsMqConfigurationInvalidEngineTypeRule struct {
// contains filtered or unexported fields
}
AwsMqConfigurationInvalidEngineTypeRule checks the pattern is valid
func NewAwsMqConfigurationInvalidEngineTypeRule ¶
func NewAwsMqConfigurationInvalidEngineTypeRule() *AwsMqConfigurationInvalidEngineTypeRule
NewAwsMqConfigurationInvalidEngineTypeRule returns new rule with default attributes
func (*AwsMqConfigurationInvalidEngineTypeRule) Check ¶
func (r *AwsMqConfigurationInvalidEngineTypeRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsMqConfigurationInvalidEngineTypeRule) Enabled ¶
func (r *AwsMqConfigurationInvalidEngineTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsMqConfigurationInvalidEngineTypeRule) Link ¶
func (r *AwsMqConfigurationInvalidEngineTypeRule) Link() string
Link returns the rule reference link
func (*AwsMqConfigurationInvalidEngineTypeRule) Name ¶
func (r *AwsMqConfigurationInvalidEngineTypeRule) Name() string
Name returns the rule name
func (*AwsMqConfigurationInvalidEngineTypeRule) Severity ¶
func (r *AwsMqConfigurationInvalidEngineTypeRule) Severity() string
Severity returns the rule severity
type AwsResourceMissingTagsRule ¶
type AwsResourceMissingTagsRule struct{}
AwsResourceMissingTagsRule checks whether resources are tagged correctly
func NewAwsResourceMissingTagsRule ¶
func NewAwsResourceMissingTagsRule() *AwsResourceMissingTagsRule
NewAwsResourceMissingTagsRule returns new rules for all resources that support tags
func (*AwsResourceMissingTagsRule) Check ¶
func (r *AwsResourceMissingTagsRule) Check(runner tflint.Runner) error
Check checks resources for missing tags
func (*AwsResourceMissingTagsRule) Enabled ¶
func (r *AwsResourceMissingTagsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsResourceMissingTagsRule) Link ¶
func (r *AwsResourceMissingTagsRule) Link() string
Link returns the rule reference link
func (*AwsResourceMissingTagsRule) Name ¶
func (r *AwsResourceMissingTagsRule) Name() string
Name returns the rule name
func (*AwsResourceMissingTagsRule) Severity ¶
func (r *AwsResourceMissingTagsRule) Severity() string
Severity returns the rule severity
type AwsRouteNotSpecifiedTargetRule ¶
type AwsRouteNotSpecifiedTargetRule struct {
// contains filtered or unexported fields
}
AwsRouteNotSpecifiedTargetRule checks whether a route definition has a routing target
func NewAwsRouteNotSpecifiedTargetRule ¶
func NewAwsRouteNotSpecifiedTargetRule() *AwsRouteNotSpecifiedTargetRule
NewAwsRouteNotSpecifiedTargetRule returns new rule with default attributes
func (*AwsRouteNotSpecifiedTargetRule) Check ¶
func (r *AwsRouteNotSpecifiedTargetRule) Check(runner tflint.Runner) error
Check checks whether `gateway_id`, `egress_only_gateway_id`, `nat_gateway_id`, `instance_id` `vpc_peering_connection_id`, `network_interface_id` or `vpc_endpoint_id` is defined in a resource
func (*AwsRouteNotSpecifiedTargetRule) Enabled ¶
func (r *AwsRouteNotSpecifiedTargetRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteNotSpecifiedTargetRule) Link ¶
func (r *AwsRouteNotSpecifiedTargetRule) Link() string
Link returns the rule reference link
func (*AwsRouteNotSpecifiedTargetRule) Name ¶
func (r *AwsRouteNotSpecifiedTargetRule) Name() string
Name returns the rule name
func (*AwsRouteNotSpecifiedTargetRule) Severity ¶
func (r *AwsRouteNotSpecifiedTargetRule) Severity() string
Severity returns the rule severity
type AwsRouteSpecifiedMultipleTargetsRule ¶
type AwsRouteSpecifiedMultipleTargetsRule struct {
// contains filtered or unexported fields
}
AwsRouteSpecifiedMultipleTargetsRule checks whether a route definition has multiple routing targets
func NewAwsRouteSpecifiedMultipleTargetsRule ¶
func NewAwsRouteSpecifiedMultipleTargetsRule() *AwsRouteSpecifiedMultipleTargetsRule
NewAwsRouteSpecifiedMultipleTargetsRule returns new rule with default attributes
func (*AwsRouteSpecifiedMultipleTargetsRule) Check ¶
func (r *AwsRouteSpecifiedMultipleTargetsRule) Check(runner tflint.Runner) error
Check checks whether a resource defines `gateway_id`, `egress_only_gateway_id`, `nat_gateway_id` `instance_id`, `vpc_peering_connection_id` or `network_interface_id` at the same time
func (*AwsRouteSpecifiedMultipleTargetsRule) Enabled ¶
func (r *AwsRouteSpecifiedMultipleTargetsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteSpecifiedMultipleTargetsRule) Link ¶
func (r *AwsRouteSpecifiedMultipleTargetsRule) Link() string
Link returns the rule reference link
func (*AwsRouteSpecifiedMultipleTargetsRule) Name ¶
func (r *AwsRouteSpecifiedMultipleTargetsRule) Name() string
Name returns the rule name
func (*AwsRouteSpecifiedMultipleTargetsRule) Severity ¶
func (r *AwsRouteSpecifiedMultipleTargetsRule) Severity() string
Severity returns the rule severity
type AwsS3BucketInvalidACLRule ¶
type AwsS3BucketInvalidACLRule struct {
// contains filtered or unexported fields
}
AwsS3BucketInvalidACLRule checks the pattern is valid
func NewAwsS3BucketInvalidACLRule ¶
func NewAwsS3BucketInvalidACLRule() *AwsS3BucketInvalidACLRule
NewAwsS3BucketInvalidACLRule returns new rule with default attributes
func (*AwsS3BucketInvalidACLRule) Check ¶
func (r *AwsS3BucketInvalidACLRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsS3BucketInvalidACLRule) Enabled ¶
func (r *AwsS3BucketInvalidACLRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsS3BucketInvalidACLRule) Link ¶
func (r *AwsS3BucketInvalidACLRule) Link() string
Link returns the rule reference link
func (*AwsS3BucketInvalidACLRule) Name ¶
func (r *AwsS3BucketInvalidACLRule) Name() string
Name returns the rule name
func (*AwsS3BucketInvalidACLRule) Severity ¶
func (r *AwsS3BucketInvalidACLRule) Severity() string
Severity returns the rule severity
type AwsS3BucketInvalidRegionRule ¶
type AwsS3BucketInvalidRegionRule struct {
// contains filtered or unexported fields
}
AwsS3BucketInvalidRegionRule checks the pattern is valid
func NewAwsS3BucketInvalidRegionRule ¶
func NewAwsS3BucketInvalidRegionRule() *AwsS3BucketInvalidRegionRule
NewAwsS3BucketInvalidRegionRule returns new rule with default attributes
func (*AwsS3BucketInvalidRegionRule) Check ¶
func (r *AwsS3BucketInvalidRegionRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsS3BucketInvalidRegionRule) Enabled ¶
func (r *AwsS3BucketInvalidRegionRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsS3BucketInvalidRegionRule) Link ¶
func (r *AwsS3BucketInvalidRegionRule) Link() string
Link returns the rule reference link
func (*AwsS3BucketInvalidRegionRule) Name ¶
func (r *AwsS3BucketInvalidRegionRule) Name() string
Name returns the rule name
func (*AwsS3BucketInvalidRegionRule) Severity ¶
func (r *AwsS3BucketInvalidRegionRule) Severity() string
Severity returns the rule severity
type AwsS3BucketNameRule ¶
type AwsS3BucketNameRule struct {
// contains filtered or unexported fields
}
AwsS3BucketNameRule checks that an S3 bucket name matches naming rules
func NewAwsS3BucketNameRule ¶
func NewAwsS3BucketNameRule() *AwsS3BucketNameRule
NewAwsS3BucketNameRule returns a new rule with default attributes
func (*AwsS3BucketNameRule) Check ¶
func (r *AwsS3BucketNameRule) Check(runner tflint.Runner) error
Check if the name of the s3 bucket matches the regex defined in the rule
func (*AwsS3BucketNameRule) Enabled ¶
func (r *AwsS3BucketNameRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsS3BucketNameRule) Link ¶
func (r *AwsS3BucketNameRule) Link() string
Link returns the rule reference link
func (*AwsS3BucketNameRule) Name ¶
func (r *AwsS3BucketNameRule) Name() string
Name returns the rule name
func (*AwsS3BucketNameRule) Severity ¶
func (r *AwsS3BucketNameRule) Severity() string
Severity returns the rule severity
type AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule ¶
type AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule struct {
// contains filtered or unexported fields
}
AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule checks the pattern is valid
func NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule ¶
func NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule() *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule
NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule returns new rule with default attributes
func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Check ¶
func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Check(runner tflint.Runner) error
Check checks the pattern is valid
func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Enabled ¶
func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Link ¶
func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Link() string
Link returns the rule reference link
func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Name ¶
func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Name() string
Name returns the rule name
func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Severity ¶
func (r *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Severity() string
Severity returns the rule severity
Source Files
¶
- aws_db_instance_default_parameter_group.go
- aws_db_instance_invalid_engine.go
- aws_db_instance_invalid_type.go
- aws_db_instance_previous_type.go
- aws_dynamodb_table_invalid_stream_view_type.go
- aws_elasticache_cluster_default_parameter_group.go
- aws_elasticache_cluster_invalid_type.go
- aws_elasticache_cluster_previous_type.go
- aws_iam_policy_document_gov_friendly_arns.go
- aws_iam_policy_gov_friendly_arns.go
- aws_iam_role_policy_gov_friendly_arns.go
- aws_instance_previous_type.go
- aws_mq_broker_invalid_engine_type.go
- aws_mq_configuration_invalid_engine_type.go
- aws_resource_missing_tags.go
- aws_route_not_specified_target.go
- aws_route_specified_multiple_targets.go
- aws_s3_bucket_invalid_acl.go
- aws_s3_bucket_invalid_region.go
- aws_s3_bucket_name.go
- aws_spot_fleet_request_invalid_excess_capacity_termination_policy.go
- provider.go