Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type AwsAPIGatewayModelInvalidNameRule
 - func (r *AwsAPIGatewayModelInvalidNameRule) Check(runner tflint.Runner) error
 - func (r *AwsAPIGatewayModelInvalidNameRule) Enabled() bool
 - func (r *AwsAPIGatewayModelInvalidNameRule) Link() string
 - func (r *AwsAPIGatewayModelInvalidNameRule) Name() string
 - func (r *AwsAPIGatewayModelInvalidNameRule) Severity() tflint.Severity
 
- type AwsAcmCertificateLifecycleRule
 - func (r *AwsAcmCertificateLifecycleRule) Check(runner tflint.Runner) error
 - func (r *AwsAcmCertificateLifecycleRule) Enabled() bool
 - func (r *AwsAcmCertificateLifecycleRule) Link() string
 - func (r *AwsAcmCertificateLifecycleRule) Name() string
 - func (r *AwsAcmCertificateLifecycleRule) Severity() tflint.Severity
 
- 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() tflint.Severity
 
- type AwsDBInstanceInvalidEngineRule
 - func (r *AwsDBInstanceInvalidEngineRule) Check(runner tflint.Runner) error
 - func (r *AwsDBInstanceInvalidEngineRule) Enabled() bool
 - func (r *AwsDBInstanceInvalidEngineRule) Link() string
 - func (r *AwsDBInstanceInvalidEngineRule) Name() string
 - func (r *AwsDBInstanceInvalidEngineRule) Severity() tflint.Severity
 
- type AwsDBInstanceInvalidTypeRule
 - type AwsDBInstancePreviousTypeRule
 - func (r *AwsDBInstancePreviousTypeRule) Check(runner tflint.Runner) error
 - func (r *AwsDBInstancePreviousTypeRule) Enabled() bool
 - func (r *AwsDBInstancePreviousTypeRule) Link() string
 - func (r *AwsDBInstancePreviousTypeRule) Name() string
 - func (r *AwsDBInstancePreviousTypeRule) Severity() tflint.Severity
 
- 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() tflint.Severity
 
- 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() tflint.Severity
 
- 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() tflint.Severity
 
- 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() tflint.Severity
 
- type AwsElastiCacheReplicationGroupDefaultParameterGroupRule
 - func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Check(runner tflint.Runner) error
 - func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Enabled() bool
 - func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Link() string
 - func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Name() string
 - func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Severity() tflint.Severity
 
- type AwsElastiCacheReplicationGroupInvalidTypeRule
 - func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Check(runner tflint.Runner) error
 - func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Enabled() bool
 - func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Link() string
 - func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Name() string
 - func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Severity() tflint.Severity
 
- type AwsElastiCacheReplicationGroupPreviousTypeRule
 - func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Check(runner tflint.Runner) error
 - func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Enabled() bool
 - func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Link() string
 - func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Name() string
 - func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Severity() tflint.Severity
 
- type AwsElasticBeanstalkEnvironmentInvalidNameFormatRule
 - func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Check(runner tflint.Runner) error
 - func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Enabled() bool
 - func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Link() string
 - func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Name() string
 - func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Severity() tflint.Severity
 
- type AwsIAMGroupPolicyTooLongRule
 - 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() tflint.Severity
 
- 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() tflint.Severity
 
- type AwsIAMPolicySidInvalidCharactersPolicy
 - type AwsIAMPolicySidInvalidCharactersPolicyStatement
 - type AwsIAMPolicySidInvalidCharactersPolicyWithSingleStatement
 - type AwsIAMPolicySidInvalidCharactersRule
 - func (r *AwsIAMPolicySidInvalidCharactersRule) Check(runner tflint.Runner) error
 - func (r *AwsIAMPolicySidInvalidCharactersRule) Enabled() bool
 - func (r *AwsIAMPolicySidInvalidCharactersRule) Link() string
 - func (r *AwsIAMPolicySidInvalidCharactersRule) Name() string
 - func (r *AwsIAMPolicySidInvalidCharactersRule) Severity() tflint.Severity
 
- type AwsIAMPolicyTooLongPolicyRule
 - func (r *AwsIAMPolicyTooLongPolicyRule) Check(runner tflint.Runner) error
 - func (r *AwsIAMPolicyTooLongPolicyRule) Enabled() bool
 - func (r *AwsIAMPolicyTooLongPolicyRule) Link() string
 - func (r *AwsIAMPolicyTooLongPolicyRule) Name() string
 - func (r *AwsIAMPolicyTooLongPolicyRule) Severity() tflint.Severity
 
- 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() tflint.Severity
 
- type AwsInstancePreviousTypeRule
 - type AwsLambdaFunctionDeprecatedRuntimeRule
 - func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Check(runner tflint.Runner) error
 - func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Enabled() bool
 - func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Link() string
 - func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Name() string
 - func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Severity() tflint.Severity
 
- 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() tflint.Severity
 
- 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() tflint.Severity
 
- type AwsProviderMissingDefaultTagsRule
 - func (r *AwsProviderMissingDefaultTagsRule) Check(runner tflint.Runner) error
 - func (r *AwsProviderMissingDefaultTagsRule) Enabled() bool
 - func (r *AwsProviderMissingDefaultTagsRule) Link() string
 - func (r *AwsProviderMissingDefaultTagsRule) Name() string
 - func (r *AwsProviderMissingDefaultTagsRule) Severity() tflint.Severity
 
- type AwsResourceMissingTagsRule
 - type AwsRouteNotSpecifiedTargetRule
 - func (r *AwsRouteNotSpecifiedTargetRule) Check(runner tflint.Runner) error
 - func (r *AwsRouteNotSpecifiedTargetRule) Enabled() bool
 - func (r *AwsRouteNotSpecifiedTargetRule) Link() string
 - func (r *AwsRouteNotSpecifiedTargetRule) Name() string
 - func (r *AwsRouteNotSpecifiedTargetRule) Severity() tflint.Severity
 
- 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() tflint.Severity
 
- type AwsS3BucketInvalidACLRule
 - type AwsS3BucketNameRule
 - type AwsSecurityGroupInvalidProtocolRule
 - func (r *AwsSecurityGroupInvalidProtocolRule) Check(runner tflint.Runner) error
 - func (r *AwsSecurityGroupInvalidProtocolRule) Enabled() bool
 - func (r *AwsSecurityGroupInvalidProtocolRule) Link() string
 - func (r *AwsSecurityGroupInvalidProtocolRule) Name() string
 - func (r *AwsSecurityGroupInvalidProtocolRule) Severity() tflint.Severity
 
- type AwsSecurityGroupRuleInvalidProtocolRule
 - func (r *AwsSecurityGroupRuleInvalidProtocolRule) Check(runner tflint.Runner) error
 - func (r *AwsSecurityGroupRuleInvalidProtocolRule) Enabled() bool
 - func (r *AwsSecurityGroupRuleInvalidProtocolRule) Link() string
 - func (r *AwsSecurityGroupRuleInvalidProtocolRule) Name() string
 - func (r *AwsSecurityGroupRuleInvalidProtocolRule) Severity() tflint.Severity
 
- 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() tflint.Severity
 
Constants ¶
This section is empty.
Variables ¶
var Rules []tflint.Rule
    Rules is a list of all rules
Functions ¶
This section is empty.
Types ¶
type AwsAPIGatewayModelInvalidNameRule ¶ added in v0.4.0
type AwsAPIGatewayModelInvalidNameRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsAPIGatewayModelInvalidNameRule checks the name is alphanumeric
func NewAwsAPIGatewayModelInvalidNameRule ¶ added in v0.4.0
func NewAwsAPIGatewayModelInvalidNameRule() *AwsAPIGatewayModelInvalidNameRule
NewAwsAPIGatewayModelInvalidNameRule returns new rule with default attributes
func (*AwsAPIGatewayModelInvalidNameRule) Check ¶ added in v0.4.0
func (r *AwsAPIGatewayModelInvalidNameRule) Check(runner tflint.Runner) error
Check checks the name attributes is matched with ^[a-zA-Z0-9]+$ regexp
func (*AwsAPIGatewayModelInvalidNameRule) Enabled ¶ added in v0.4.0
func (r *AwsAPIGatewayModelInvalidNameRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsAPIGatewayModelInvalidNameRule) Link ¶ added in v0.4.0
func (r *AwsAPIGatewayModelInvalidNameRule) Link() string
Link returns the rule reference link
func (*AwsAPIGatewayModelInvalidNameRule) Name ¶ added in v0.4.0
func (r *AwsAPIGatewayModelInvalidNameRule) Name() string
Name returns the rule name
func (*AwsAPIGatewayModelInvalidNameRule) Severity ¶ added in v0.4.0
func (r *AwsAPIGatewayModelInvalidNameRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsAcmCertificateLifecycleRule ¶ added in v0.10.0
type AwsAcmCertificateLifecycleRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsAcmCertificateLifecycleRule checks whether `create_before_destroy = true` is set in a lifecycle block of `aws_acm_certificate` resource
func NewAwsAcmCertificateLifecycleRule ¶ added in v0.10.0
func NewAwsAcmCertificateLifecycleRule() *AwsAcmCertificateLifecycleRule
NewAwsAcmCertificateLifecycleRule returns new rule with default attributes
func (*AwsAcmCertificateLifecycleRule) Check ¶ added in v0.10.0
func (r *AwsAcmCertificateLifecycleRule) Check(runner tflint.Runner) error
Check checks whether the aws_acm_certificate resource contains create_before_destroy = true in lifecycle block
func (*AwsAcmCertificateLifecycleRule) Enabled ¶ added in v0.10.0
func (r *AwsAcmCertificateLifecycleRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsAcmCertificateLifecycleRule) Link ¶ added in v0.10.0
func (r *AwsAcmCertificateLifecycleRule) Link() string
Link returns the rule reference link
func (*AwsAcmCertificateLifecycleRule) Name ¶ added in v0.10.0
func (r *AwsAcmCertificateLifecycleRule) Name() string
Name returns the rule name
func (*AwsAcmCertificateLifecycleRule) Severity ¶ added in v0.10.0
func (r *AwsAcmCertificateLifecycleRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsDBInstanceDefaultParameterGroupRule ¶
type AwsDBInstanceDefaultParameterGroupRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsDBInstanceInvalidEngineRule ¶ added in v0.3.0
type AwsDBInstanceInvalidEngineRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsDBInstanceInvalidTypeRule ¶
type AwsDBInstanceInvalidTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsDBInstancePreviousTypeRule ¶
type AwsDBInstancePreviousTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsDynamoDBTableInvalidStreamViewTypeRule ¶
type AwsDynamoDBTableInvalidStreamViewTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsElastiCacheClusterDefaultParameterGroupRule ¶
type AwsElastiCacheClusterDefaultParameterGroupRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsElastiCacheClusterInvalidTypeRule ¶
type AwsElastiCacheClusterInvalidTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsElastiCacheClusterPreviousTypeRule ¶
type AwsElastiCacheClusterPreviousTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsElastiCacheReplicationGroupDefaultParameterGroupRule ¶ added in v0.6.0
type AwsElastiCacheReplicationGroupDefaultParameterGroupRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsElastiCacheReplicationGroupDefaultParameterGroupRule checks whether the cluster use default parameter group
func NewAwsElastiCacheReplicationGroupDefaultParameterGroupRule ¶ added in v0.6.0
func NewAwsElastiCacheReplicationGroupDefaultParameterGroupRule() *AwsElastiCacheReplicationGroupDefaultParameterGroupRule
NewAwsElastiCacheReplicationGroupDefaultParameterGroupRule returns new rule with default attributes
func (*AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Check ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Check(runner tflint.Runner) error
Check checks the parameter group name starts with `default`
func (*AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Enabled ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Link ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Name ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Name() string
Name returns the rule name
func (*AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Severity ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupDefaultParameterGroupRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsElastiCacheReplicationGroupInvalidTypeRule ¶ added in v0.6.0
type AwsElastiCacheReplicationGroupInvalidTypeRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsElastiCacheReplicationGroupInvalidTypeRule checks whether "aws_elasticache_replication_group" has invalid node type.
func NewAwsElastiCacheReplicationGroupInvalidTypeRule ¶ added in v0.6.0
func NewAwsElastiCacheReplicationGroupInvalidTypeRule() *AwsElastiCacheReplicationGroupInvalidTypeRule
NewAwsElastiCacheReplicationGroupInvalidTypeRule returns new rule with default attributes
func (*AwsElastiCacheReplicationGroupInvalidTypeRule) Check ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Check(runner tflint.Runner) error
Check checks whether "aws_elasticache_replication_group" has invalid node type.
func (*AwsElastiCacheReplicationGroupInvalidTypeRule) Enabled ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheReplicationGroupInvalidTypeRule) Link ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheReplicationGroupInvalidTypeRule) Name ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Name() string
Name returns the rule name
func (*AwsElastiCacheReplicationGroupInvalidTypeRule) Severity ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupInvalidTypeRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsElastiCacheReplicationGroupPreviousTypeRule ¶ added in v0.6.0
type AwsElastiCacheReplicationGroupPreviousTypeRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsElastiCacheReplicationGroupPreviousTypeRule checks whether the resource uses previous generation node type
func NewAwsElastiCacheReplicationGroupPreviousTypeRule ¶ added in v0.6.0
func NewAwsElastiCacheReplicationGroupPreviousTypeRule() *AwsElastiCacheReplicationGroupPreviousTypeRule
NewAwsElastiCacheReplicationGroupPreviousTypeRule returns new rule with default attributes
func (*AwsElastiCacheReplicationGroupPreviousTypeRule) Check ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Check(runner tflint.Runner) error
Check checks whether the resource's `node_type` is included in the list of previous generation node type
func (*AwsElastiCacheReplicationGroupPreviousTypeRule) Enabled ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheReplicationGroupPreviousTypeRule) Link ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheReplicationGroupPreviousTypeRule) Name ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Name() string
Name returns the rule name
func (*AwsElastiCacheReplicationGroupPreviousTypeRule) Severity ¶ added in v0.6.0
func (r *AwsElastiCacheReplicationGroupPreviousTypeRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsElasticBeanstalkEnvironmentInvalidNameFormatRule ¶ added in v0.13.0
type AwsElasticBeanstalkEnvironmentInvalidNameFormatRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsElasticBeanstalkEnvironmentInvalidNameFormatRule checks EB environment name matches a pattern
func NewAwsElasticBeanstalkEnvironmentInvalidNameFormatRule ¶ added in v0.13.0
func NewAwsElasticBeanstalkEnvironmentInvalidNameFormatRule() *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule
NewAwsElasticBeanstalkEnvironmentInvalidNameFormatRule returns new rule with default attributes
func (*AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Check ¶ added in v0.13.0
func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Check(runner tflint.Runner) error
Check checks the environment name matches the pattern provided
func (*AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Enabled ¶ added in v0.13.0
func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Link ¶ added in v0.13.0
func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Link() string
Link returns the rule reference link
func (*AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Name ¶ added in v0.13.0
func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Name() string
Name returns the rule name
func (*AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Severity ¶ added in v0.13.0
func (r *AwsElasticBeanstalkEnvironmentInvalidNameFormatRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsIAMGroupPolicyTooLongRule ¶ added in v0.8.0
type AwsIAMGroupPolicyTooLongRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsIAMGroupPolicyTooLongRule checks that the policy length is less than 5,120 characters
func NewAwsIAMGroupPolicyTooLongRule ¶ added in v0.8.0
func NewAwsIAMGroupPolicyTooLongRule() *AwsIAMGroupPolicyTooLongRule
NewAwsIAMGroupPolicyTooLongRule returns new rule with default attributes
func (*AwsIAMGroupPolicyTooLongRule) Check ¶ added in v0.8.0
func (r *AwsIAMGroupPolicyTooLongRule) Check(runner tflint.Runner) error
Check checks the length of the policy
func (*AwsIAMGroupPolicyTooLongRule) Enabled ¶ added in v0.8.0
func (r *AwsIAMGroupPolicyTooLongRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsIAMGroupPolicyTooLongRule) Link ¶ added in v0.8.0
func (r *AwsIAMGroupPolicyTooLongRule) Link() string
Link returns the rule reference link
func (*AwsIAMGroupPolicyTooLongRule) Name ¶ added in v0.8.0
func (r *AwsIAMGroupPolicyTooLongRule) Name() string
Name returns the rule name
func (*AwsIAMGroupPolicyTooLongRule) Severity ¶ added in v0.8.0
func (r *AwsIAMGroupPolicyTooLongRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsIAMPolicyDocumentGovFriendlyArnsRule ¶ added in v0.3.0
type AwsIAMPolicyDocumentGovFriendlyArnsRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsIAMPolicyGovFriendlyArnsRule ¶ added in v0.3.0
type AwsIAMPolicyGovFriendlyArnsRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsIAMPolicySidInvalidCharactersPolicy ¶ added in v0.7.2
type AwsIAMPolicySidInvalidCharactersPolicy struct {
	Statement []AwsIAMPolicySidInvalidCharactersPolicyStatement `json:"Statement"`
}
    type AwsIAMPolicySidInvalidCharactersPolicyStatement ¶ added in v0.7.2
type AwsIAMPolicySidInvalidCharactersPolicyStatement struct {
	Sid string `json:"Sid"`
}
    type AwsIAMPolicySidInvalidCharactersPolicyWithSingleStatement ¶ added in v0.7.2
type AwsIAMPolicySidInvalidCharactersPolicyWithSingleStatement struct {
	Statement AwsIAMPolicySidInvalidCharactersPolicyStatement `json:"Statement"`
}
    type AwsIAMPolicySidInvalidCharactersRule ¶ added in v0.7.0
type AwsIAMPolicySidInvalidCharactersRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsIAMPolicySidInvalidCharactersRule checks for invalid characters in SID
func NewAwsIAMPolicySidInvalidCharactersRule ¶ added in v0.7.0
func NewAwsIAMPolicySidInvalidCharactersRule() *AwsIAMPolicySidInvalidCharactersRule
NewAwsIAMPolicySidInvalidCharactersRule returns new rule with default attributes
func (*AwsIAMPolicySidInvalidCharactersRule) Check ¶ added in v0.7.0
func (r *AwsIAMPolicySidInvalidCharactersRule) Check(runner tflint.Runner) error
Check checks the unmarshaled policy and loops through statements checking for invalid statement ids
func (*AwsIAMPolicySidInvalidCharactersRule) Enabled ¶ added in v0.7.0
func (r *AwsIAMPolicySidInvalidCharactersRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsIAMPolicySidInvalidCharactersRule) Link ¶ added in v0.7.0
func (r *AwsIAMPolicySidInvalidCharactersRule) Link() string
Link returns the rule reference link
func (*AwsIAMPolicySidInvalidCharactersRule) Name ¶ added in v0.7.0
func (r *AwsIAMPolicySidInvalidCharactersRule) Name() string
Name returns the rule name
func (*AwsIAMPolicySidInvalidCharactersRule) Severity ¶ added in v0.7.0
func (r *AwsIAMPolicySidInvalidCharactersRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsIAMPolicyTooLongPolicyRule ¶ added in v0.7.0
type AwsIAMPolicyTooLongPolicyRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsIAMPolicyTooLongPolicyRule checks that the policy length is less than 6,144 characters
func NewAwsIAMPolicyTooLongPolicyRule ¶ added in v0.7.0
func NewAwsIAMPolicyTooLongPolicyRule() *AwsIAMPolicyTooLongPolicyRule
NewAwsIAMPolicyTooLongPolicyRule returns new rule with default attributes
func (*AwsIAMPolicyTooLongPolicyRule) Check ¶ added in v0.7.0
func (r *AwsIAMPolicyTooLongPolicyRule) Check(runner tflint.Runner) error
Check checks the length of the policy
func (*AwsIAMPolicyTooLongPolicyRule) Enabled ¶ added in v0.7.0
func (r *AwsIAMPolicyTooLongPolicyRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsIAMPolicyTooLongPolicyRule) Link ¶ added in v0.7.0
func (r *AwsIAMPolicyTooLongPolicyRule) Link() string
Link returns the rule reference link
func (*AwsIAMPolicyTooLongPolicyRule) Name ¶ added in v0.7.0
func (r *AwsIAMPolicyTooLongPolicyRule) Name() string
Name returns the rule name
func (*AwsIAMPolicyTooLongPolicyRule) Severity ¶ added in v0.7.0
func (r *AwsIAMPolicyTooLongPolicyRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsIAMRolePolicyGovFriendlyArnsRule ¶ added in v0.3.0
type AwsIAMRolePolicyGovFriendlyArnsRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsInstancePreviousTypeRule ¶
type AwsInstancePreviousTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsLambdaFunctionDeprecatedRuntimeRule ¶ added in v0.7.0
type AwsLambdaFunctionDeprecatedRuntimeRule struct {
	tflint.DefaultRule
	Now time.Time
	// contains filtered or unexported fields
}
    AwsLambdaFunctionDeprecatedRuntimeRule checks to see if the lambda runtime has reached End Of Support
func NewAwsLambdaFunctionDeprecatedRuntimeRule ¶ added in v0.7.0
func NewAwsLambdaFunctionDeprecatedRuntimeRule() *AwsLambdaFunctionDeprecatedRuntimeRule
NewAwsLambdaFunctionDeprecatedRuntimeRule returns new rule with default attributes
func (*AwsLambdaFunctionDeprecatedRuntimeRule) Check ¶ added in v0.7.0
func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Check(runner tflint.Runner) error
Check checks if the chosen runtime has reached EOS. Date check allows future values to be created as well.
func (*AwsLambdaFunctionDeprecatedRuntimeRule) Enabled ¶ added in v0.7.0
func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsLambdaFunctionDeprecatedRuntimeRule) Link ¶ added in v0.7.0
func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Link() string
Link returns the rule reference link
func (*AwsLambdaFunctionDeprecatedRuntimeRule) Name ¶ added in v0.7.0
func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Name() string
Name returns the rule name
func (*AwsLambdaFunctionDeprecatedRuntimeRule) Severity ¶ added in v0.7.0
func (r *AwsLambdaFunctionDeprecatedRuntimeRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsMqBrokerInvalidEngineTypeRule ¶
type AwsMqBrokerInvalidEngineTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsMqConfigurationInvalidEngineTypeRule ¶
type AwsMqConfigurationInvalidEngineTypeRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsProviderMissingDefaultTagsRule ¶ added in v0.32.0
type AwsProviderMissingDefaultTagsRule struct {
	tflint.DefaultRule
}
    AwsProviderMissingDefaultTagsRule checks whether providers are tagged correctly
func NewAwsProviderMissingDefaultTagsRule ¶ added in v0.32.0
func NewAwsProviderMissingDefaultTagsRule() *AwsProviderMissingDefaultTagsRule
NewAwsProviderMissingDefaultTagsRule returns new rules for all providers that support tags
func (*AwsProviderMissingDefaultTagsRule) Check ¶ added in v0.32.0
func (r *AwsProviderMissingDefaultTagsRule) Check(runner tflint.Runner) error
Check checks providers for missing tags
func (*AwsProviderMissingDefaultTagsRule) Enabled ¶ added in v0.32.0
func (r *AwsProviderMissingDefaultTagsRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsProviderMissingDefaultTagsRule) Link ¶ added in v0.32.0
func (r *AwsProviderMissingDefaultTagsRule) Link() string
Link returns the rule reference link
func (*AwsProviderMissingDefaultTagsRule) Name ¶ added in v0.32.0
func (r *AwsProviderMissingDefaultTagsRule) Name() string
Name returns the rule name
func (*AwsProviderMissingDefaultTagsRule) Severity ¶ added in v0.32.0
func (r *AwsProviderMissingDefaultTagsRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsResourceMissingTagsRule ¶
type AwsResourceMissingTagsRule struct {
	tflint.DefaultRule
}
    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() tflint.Severity
Severity returns the rule severity
type AwsRouteNotSpecifiedTargetRule ¶
type AwsRouteNotSpecifiedTargetRule struct {
	tflint.DefaultRule
	// 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 a target 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() tflint.Severity
Severity returns the rule severity
type AwsRouteSpecifiedMultipleTargetsRule ¶
type AwsRouteSpecifiedMultipleTargetsRule struct {
	tflint.DefaultRule
	// 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 multiple targets
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() tflint.Severity
Severity returns the rule severity
type AwsS3BucketInvalidACLRule ¶
type AwsS3BucketInvalidACLRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
type AwsS3BucketNameRule ¶
type AwsS3BucketNameRule struct {
	tflint.DefaultRule
	// 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 is valid
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() tflint.Severity
Severity returns the rule severity
type AwsSecurityGroupInvalidProtocolRule ¶ added in v0.15.0
type AwsSecurityGroupInvalidProtocolRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsSecurityGroupInvalidProtocolRule checks whether "protocol" in "ingress" or "egress" has invalid value
func NewAwsSecurityGroupInvalidProtocolRule ¶ added in v0.15.0
func NewAwsSecurityGroupInvalidProtocolRule() *AwsSecurityGroupInvalidProtocolRule
NewAwsSecurityGroupInvalidProtocolRule returns new rule with default attributes
func (*AwsSecurityGroupInvalidProtocolRule) Check ¶ added in v0.15.0
func (r *AwsSecurityGroupInvalidProtocolRule) Check(runner tflint.Runner) error
Check checks whether "protocol" in "ingress" or "egress" has invalid value
func (*AwsSecurityGroupInvalidProtocolRule) Enabled ¶ added in v0.15.0
func (r *AwsSecurityGroupInvalidProtocolRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsSecurityGroupInvalidProtocolRule) Link ¶ added in v0.15.0
func (r *AwsSecurityGroupInvalidProtocolRule) Link() string
Link returns the rule reference link
func (*AwsSecurityGroupInvalidProtocolRule) Name ¶ added in v0.15.0
func (r *AwsSecurityGroupInvalidProtocolRule) Name() string
Name returns the rule name
func (*AwsSecurityGroupInvalidProtocolRule) Severity ¶ added in v0.15.0
func (r *AwsSecurityGroupInvalidProtocolRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsSecurityGroupRuleInvalidProtocolRule ¶ added in v0.15.0
type AwsSecurityGroupRuleInvalidProtocolRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    AwsSecurityGroupRuleInvalidProtocolRule checks whether "protocol" has invalid value
func NewAwsSecurityGroupRuleInvalidProtocolRule ¶ added in v0.15.0
func NewAwsSecurityGroupRuleInvalidProtocolRule() *AwsSecurityGroupRuleInvalidProtocolRule
NewAwsSecurityGroupRuleInvalidProtocolRule returns new rule with default attributes
func (*AwsSecurityGroupRuleInvalidProtocolRule) Check ¶ added in v0.15.0
func (r *AwsSecurityGroupRuleInvalidProtocolRule) Check(runner tflint.Runner) error
Check checks whether "protocol" has invalid value
func (*AwsSecurityGroupRuleInvalidProtocolRule) Enabled ¶ added in v0.15.0
func (r *AwsSecurityGroupRuleInvalidProtocolRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsSecurityGroupRuleInvalidProtocolRule) Link ¶ added in v0.15.0
func (r *AwsSecurityGroupRuleInvalidProtocolRule) Link() string
Link returns the rule reference link
func (*AwsSecurityGroupRuleInvalidProtocolRule) Name ¶ added in v0.15.0
func (r *AwsSecurityGroupRuleInvalidProtocolRule) Name() string
Name returns the rule name
func (*AwsSecurityGroupRuleInvalidProtocolRule) Severity ¶ added in v0.15.0
func (r *AwsSecurityGroupRuleInvalidProtocolRule) Severity() tflint.Severity
Severity returns the rule severity
type AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule ¶
type AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule struct {
	tflint.DefaultRule
	// 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() tflint.Severity
Severity returns the rule severity
      
      Source Files
      ¶
    
- aws_acm_certificate_lifecycle.go
 - aws_api_gateway_model_invalid_name.go
 - 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_elastic_beanstalk_environment_invalid_name_format.go
 - aws_elasticache_cluster_default_parameter_group.go
 - aws_elasticache_cluster_invalid_type.go
 - aws_elasticache_cluster_previous_type.go
 - aws_elasticache_replication_group_default_parameter_group.go
 - aws_elasticache_replication_group_invalid_type.go
 - aws_elasticache_replication_group_previous_type.go
 - aws_iam_group_policy_too_long.go
 - aws_iam_policy_document_gov_friendly_arns.go
 - aws_iam_policy_gov_friendly_arns.go
 - aws_iam_policy_sid_invalid_characters.go
 - aws_iam_policy_too_long_policy.go
 - aws_iam_role_policy_gov_friendly_arns.go
 - aws_instance_previous_type.go
 - aws_lambda_function_deprecated_runtime.go
 - aws_mq_broker_invalid_engine_type.go
 - aws_mq_configuration_invalid_engine_type.go
 - aws_provider_missing_default_tags.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_name.go
 - aws_security_group_invalid_protocol.go
 - aws_security_group_rule_invalid_protocol.go
 - aws_spot_fleet_request_invalid_excess_capacity_termination_policy.go
 - provider.go
 - utils.go