Documentation ¶
Index ¶
- type AwsALBInvalidSecurityGroupRule
- type AwsALBInvalidSubnetRule
- type AwsCloudwatchMetricAlarmInvalidUnitRule
- func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Check(runner *tflint.Runner) error
- func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Enabled() bool
- func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Link() string
- func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Name() string
- func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Type() string
- 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) Type() string
- type AwsDBInstanceInvalidDBSubnetGroupRule
- func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Enabled() bool
- func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Link() string
- func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Name() string
- func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Type() string
- type AwsDBInstanceInvalidOptionGroupRule
- func (r *AwsDBInstanceInvalidOptionGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsDBInstanceInvalidOptionGroupRule) Enabled() bool
- func (r *AwsDBInstanceInvalidOptionGroupRule) Link() string
- func (r *AwsDBInstanceInvalidOptionGroupRule) Name() string
- func (r *AwsDBInstanceInvalidOptionGroupRule) Type() string
- type AwsDBInstanceInvalidParameterGroupRule
- func (r *AwsDBInstanceInvalidParameterGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsDBInstanceInvalidParameterGroupRule) Enabled() bool
- func (r *AwsDBInstanceInvalidParameterGroupRule) Link() string
- func (r *AwsDBInstanceInvalidParameterGroupRule) Name() string
- func (r *AwsDBInstanceInvalidParameterGroupRule) Type() string
- type AwsDBInstanceInvalidTypeRule
- type AwsDBInstanceInvalidVPCSecurityGroupRule
- func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Enabled() bool
- func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Link() string
- func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Name() string
- func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Type() string
- type AwsDBInstancePreviousTypeRule
- type AwsDBInstanceReadablePasswordRule
- func (r *AwsDBInstanceReadablePasswordRule) Check(runner *tflint.Runner) error
- func (r *AwsDBInstanceReadablePasswordRule) Enabled() bool
- func (r *AwsDBInstanceReadablePasswordRule) Link() string
- func (r *AwsDBInstanceReadablePasswordRule) Name() string
- func (r *AwsDBInstanceReadablePasswordRule) Type() string
- type AwsELBInvalidInstanceRule
- type AwsELBInvalidSecurityGroupRule
- type AwsELBInvalidSubnetRule
- 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) Type() string
- type AwsElastiCacheClusterInvalidParameterGroupRule
- func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Enabled() bool
- func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Link() string
- func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Name() string
- func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Type() string
- type AwsElastiCacheClusterInvalidSecurityGroupRule
- func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Enabled() bool
- func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Link() string
- func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Name() string
- func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Type() string
- type AwsElastiCacheClusterInvalidSubnetGroupRule
- func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Enabled() bool
- func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Link() string
- func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Name() string
- func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Type() 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) Type() 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) Type() string
- type AwsInstanceDefaultStandardVolumeRule
- func (r *AwsInstanceDefaultStandardVolumeRule) Check(runner *tflint.Runner) error
- func (r *AwsInstanceDefaultStandardVolumeRule) Enabled() bool
- func (r *AwsInstanceDefaultStandardVolumeRule) Link() string
- func (r *AwsInstanceDefaultStandardVolumeRule) Name() string
- func (r *AwsInstanceDefaultStandardVolumeRule) Type() string
- type AwsInstanceInvalidAMIRule
- type AwsInstanceInvalidIAMProfileRule
- func (r *AwsInstanceInvalidIAMProfileRule) Check(runner *tflint.Runner) error
- func (r *AwsInstanceInvalidIAMProfileRule) Enabled() bool
- func (r *AwsInstanceInvalidIAMProfileRule) Link() string
- func (r *AwsInstanceInvalidIAMProfileRule) Name() string
- func (r *AwsInstanceInvalidIAMProfileRule) Type() string
- type AwsInstanceInvalidKeyNameRule
- type AwsInstanceInvalidSubnetRule
- type AwsInstanceInvalidTypeRule
- type AwsInstanceInvalidVPCSecurityGroupRule
- func (r *AwsInstanceInvalidVPCSecurityGroupRule) Check(runner *tflint.Runner) error
- func (r *AwsInstanceInvalidVPCSecurityGroupRule) Enabled() bool
- func (r *AwsInstanceInvalidVPCSecurityGroupRule) Link() string
- func (r *AwsInstanceInvalidVPCSecurityGroupRule) Name() string
- func (r *AwsInstanceInvalidVPCSecurityGroupRule) Type() string
- type AwsInstancePreviousTypeRule
- type AwsRouteInvalidEgressOnlyGatewayRule
- func (r *AwsRouteInvalidEgressOnlyGatewayRule) Check(runner *tflint.Runner) error
- func (r *AwsRouteInvalidEgressOnlyGatewayRule) Enabled() bool
- func (r *AwsRouteInvalidEgressOnlyGatewayRule) Link() string
- func (r *AwsRouteInvalidEgressOnlyGatewayRule) Name() string
- func (r *AwsRouteInvalidEgressOnlyGatewayRule) Type() string
- type AwsRouteInvalidGatewayRule
- type AwsRouteInvalidInstanceRule
- type AwsRouteInvalidNatGatewayRule
- type AwsRouteInvalidNetworkInterfaceRule
- func (r *AwsRouteInvalidNetworkInterfaceRule) Check(runner *tflint.Runner) error
- func (r *AwsRouteInvalidNetworkInterfaceRule) Enabled() bool
- func (r *AwsRouteInvalidNetworkInterfaceRule) Link() string
- func (r *AwsRouteInvalidNetworkInterfaceRule) Name() string
- func (r *AwsRouteInvalidNetworkInterfaceRule) Type() string
- type AwsRouteInvalidRouteTableRule
- type AwsRouteInvalidVPCPeeringConnectionRule
- func (r *AwsRouteInvalidVPCPeeringConnectionRule) Check(runner *tflint.Runner) error
- func (r *AwsRouteInvalidVPCPeeringConnectionRule) Enabled() bool
- func (r *AwsRouteInvalidVPCPeeringConnectionRule) Link() string
- func (r *AwsRouteInvalidVPCPeeringConnectionRule) Name() string
- func (r *AwsRouteInvalidVPCPeeringConnectionRule) Type() string
- 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) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsALBInvalidSecurityGroupRule ¶
type AwsALBInvalidSecurityGroupRule struct {
// contains filtered or unexported fields
}
AwsALBInvalidSecurityGroupRule checks whether security groups actually exists
func NewAwsALBInvalidSecurityGroupRule ¶
func NewAwsALBInvalidSecurityGroupRule() *AwsALBInvalidSecurityGroupRule
NewAwsALBInvalidSecurityGroupRule returns new rule with default attributes
func (*AwsALBInvalidSecurityGroupRule) Check ¶
func (r *AwsALBInvalidSecurityGroupRule) Check(runner *tflint.Runner) error
Check checks whether `security_groups` are included in the list retrieved by `DescribeSecurityGroups`
func (*AwsALBInvalidSecurityGroupRule) Enabled ¶
func (r *AwsALBInvalidSecurityGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsALBInvalidSecurityGroupRule) Link ¶
func (r *AwsALBInvalidSecurityGroupRule) Link() string
Link returns the rule reference link
func (*AwsALBInvalidSecurityGroupRule) Name ¶
func (r *AwsALBInvalidSecurityGroupRule) Name() string
Name returns the rule name
func (*AwsALBInvalidSecurityGroupRule) Type ¶
func (r *AwsALBInvalidSecurityGroupRule) Type() string
Type returns the rule severity
type AwsALBInvalidSubnetRule ¶
type AwsALBInvalidSubnetRule struct {
// contains filtered or unexported fields
}
AwsALBInvalidSubnetRule checks whether subnets actually exists
func NewAwsALBInvalidSubnetRule ¶
func NewAwsALBInvalidSubnetRule() *AwsALBInvalidSubnetRule
NewAwsALBInvalidSubnetRule returns new rule with default attributes
func (*AwsALBInvalidSubnetRule) Check ¶
func (r *AwsALBInvalidSubnetRule) Check(runner *tflint.Runner) error
Check checks whether `subnets` are included in the list retrieved by `DescribeSubnets`
func (*AwsALBInvalidSubnetRule) Enabled ¶
func (r *AwsALBInvalidSubnetRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsALBInvalidSubnetRule) Link ¶
func (r *AwsALBInvalidSubnetRule) Link() string
Link returns the rule reference link
func (*AwsALBInvalidSubnetRule) Name ¶
func (r *AwsALBInvalidSubnetRule) Name() string
Name returns the rule name
func (*AwsALBInvalidSubnetRule) Type ¶
func (r *AwsALBInvalidSubnetRule) Type() string
Type returns the rule severity
type AwsCloudwatchMetricAlarmInvalidUnitRule ¶
type AwsCloudwatchMetricAlarmInvalidUnitRule struct {
// contains filtered or unexported fields
}
AwsCloudwatchMetricAlarmInvalidUnitRule checks whether the valid unit is used in an alerm
func NewAwsCloudwatchMetricAlarmInvalidUnitRule ¶
func NewAwsCloudwatchMetricAlarmInvalidUnitRule() *AwsCloudwatchMetricAlarmInvalidUnitRule
NewAwsCloudwatchMetricAlarmInvalidUnitRule returns new rule with default attributes
func (*AwsCloudwatchMetricAlarmInvalidUnitRule) Check ¶
func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Check(runner *tflint.Runner) error
Check checks whether `unit` is included in the valid unit list
func (*AwsCloudwatchMetricAlarmInvalidUnitRule) Enabled ¶
func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsCloudwatchMetricAlarmInvalidUnitRule) Link ¶
func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Link() string
Link returns the rule reference link
func (*AwsCloudwatchMetricAlarmInvalidUnitRule) Name ¶
func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Name() string
Name returns the rule name
func (*AwsCloudwatchMetricAlarmInvalidUnitRule) Type ¶
func (r *AwsCloudwatchMetricAlarmInvalidUnitRule) Type() string
Type returns the rule severity
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) Type ¶
func (r *AwsDBInstanceDefaultParameterGroupRule) Type() string
Type returns the rule severity
type AwsDBInstanceInvalidDBSubnetGroupRule ¶
type AwsDBInstanceInvalidDBSubnetGroupRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceInvalidDBSubnetGroupRule checks whether DB subnet group actually exists
func NewAwsDBInstanceInvalidDBSubnetGroupRule ¶
func NewAwsDBInstanceInvalidDBSubnetGroupRule() *AwsDBInstanceInvalidDBSubnetGroupRule
NewAwsDBInstanceInvalidDBSubnetGroupRule returns new rule with default attributes
func (*AwsDBInstanceInvalidDBSubnetGroupRule) Check ¶
func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Check(runner *tflint.Runner) error
Check checks whether `db_subnet_group_name` are included in the list retrieved by `DescribeDBSubnetGroups`
func (*AwsDBInstanceInvalidDBSubnetGroupRule) Enabled ¶
func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceInvalidDBSubnetGroupRule) Link ¶
func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceInvalidDBSubnetGroupRule) Name ¶
func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Name() string
Name returns the rule name
func (*AwsDBInstanceInvalidDBSubnetGroupRule) Type ¶
func (r *AwsDBInstanceInvalidDBSubnetGroupRule) Type() string
Type returns the rule severity
type AwsDBInstanceInvalidOptionGroupRule ¶
type AwsDBInstanceInvalidOptionGroupRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceInvalidOptionGroupRule checks whether option group actually exists
func NewAwsDBInstanceInvalidOptionGroupRule ¶
func NewAwsDBInstanceInvalidOptionGroupRule() *AwsDBInstanceInvalidOptionGroupRule
NewAwsDBInstanceInvalidOptionGroupRule returns new rule with default attributes
func (*AwsDBInstanceInvalidOptionGroupRule) Check ¶
func (r *AwsDBInstanceInvalidOptionGroupRule) Check(runner *tflint.Runner) error
Check checks whether `option_group_name` are included in the list retrieved by `DescribeOptionGroups`
func (*AwsDBInstanceInvalidOptionGroupRule) Enabled ¶
func (r *AwsDBInstanceInvalidOptionGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceInvalidOptionGroupRule) Link ¶
func (r *AwsDBInstanceInvalidOptionGroupRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceInvalidOptionGroupRule) Name ¶
func (r *AwsDBInstanceInvalidOptionGroupRule) Name() string
Name returns the rule name
func (*AwsDBInstanceInvalidOptionGroupRule) Type ¶
func (r *AwsDBInstanceInvalidOptionGroupRule) Type() string
Type returns the rule severity
type AwsDBInstanceInvalidParameterGroupRule ¶
type AwsDBInstanceInvalidParameterGroupRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceInvalidParameterGroupRule checks whether DB parameter group actually exists
func NewAwsDBInstanceInvalidParameterGroupRule ¶
func NewAwsDBInstanceInvalidParameterGroupRule() *AwsDBInstanceInvalidParameterGroupRule
NewAwsDBInstanceInvalidParameterGroupRule returns new rule with default attributes
func (*AwsDBInstanceInvalidParameterGroupRule) Check ¶
func (r *AwsDBInstanceInvalidParameterGroupRule) Check(runner *tflint.Runner) error
Check checks whether `parameter_group_name` are included in the list retrieved by `DescribeDBParameterGroups`
func (*AwsDBInstanceInvalidParameterGroupRule) Enabled ¶
func (r *AwsDBInstanceInvalidParameterGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceInvalidParameterGroupRule) Link ¶
func (r *AwsDBInstanceInvalidParameterGroupRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceInvalidParameterGroupRule) Name ¶
func (r *AwsDBInstanceInvalidParameterGroupRule) Name() string
Name returns the rule name
func (*AwsDBInstanceInvalidParameterGroupRule) Type ¶
func (r *AwsDBInstanceInvalidParameterGroupRule) Type() string
Type 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) Type ¶
func (r *AwsDBInstanceInvalidTypeRule) Type() string
Type returns the rule severity
type AwsDBInstanceInvalidVPCSecurityGroupRule ¶
type AwsDBInstanceInvalidVPCSecurityGroupRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceInvalidVPCSecurityGroupRule checks whether security groups actually exists
func NewAwsDBInstanceInvalidVPCSecurityGroupRule ¶
func NewAwsDBInstanceInvalidVPCSecurityGroupRule() *AwsDBInstanceInvalidVPCSecurityGroupRule
NewAwsDBInstanceInvalidVPCSecurityGroupRule returns new rule with default attributes
func (*AwsDBInstanceInvalidVPCSecurityGroupRule) Check ¶
func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Check(runner *tflint.Runner) error
Check checks whether `vpc_security_groups` are included in the list retrieved by `DescribeSecurityGroups`
func (*AwsDBInstanceInvalidVPCSecurityGroupRule) Enabled ¶
func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceInvalidVPCSecurityGroupRule) Link ¶
func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceInvalidVPCSecurityGroupRule) Name ¶
func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Name() string
Name returns the rule name
func (*AwsDBInstanceInvalidVPCSecurityGroupRule) Type ¶
func (r *AwsDBInstanceInvalidVPCSecurityGroupRule) Type() string
Type 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) Type ¶
func (r *AwsDBInstancePreviousTypeRule) Type() string
Type returns the rule severity
type AwsDBInstanceReadablePasswordRule ¶
type AwsDBInstanceReadablePasswordRule struct {
// contains filtered or unexported fields
}
AwsDBInstanceReadablePasswordRule checks whether "aws_db_instance" has readable password field
func NewAwsDBInstanceReadablePasswordRule ¶
func NewAwsDBInstanceReadablePasswordRule() *AwsDBInstanceReadablePasswordRule
NewAwsDBInstanceReadablePasswordRule returns new rule with default attributes
func (*AwsDBInstanceReadablePasswordRule) Check ¶
func (r *AwsDBInstanceReadablePasswordRule) Check(runner *tflint.Runner) error
Check checks password
func (*AwsDBInstanceReadablePasswordRule) Enabled ¶
func (r *AwsDBInstanceReadablePasswordRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsDBInstanceReadablePasswordRule) Link ¶
func (r *AwsDBInstanceReadablePasswordRule) Link() string
Link returns the rule reference link
func (*AwsDBInstanceReadablePasswordRule) Name ¶
func (r *AwsDBInstanceReadablePasswordRule) Name() string
Name returns the rule name
func (*AwsDBInstanceReadablePasswordRule) Type ¶
func (r *AwsDBInstanceReadablePasswordRule) Type() string
Type returns the rule severity
type AwsELBInvalidInstanceRule ¶
type AwsELBInvalidInstanceRule struct {
// contains filtered or unexported fields
}
AwsELBInvalidInstanceRule checks whether instances actually exists
func NewAwsELBInvalidInstanceRule ¶
func NewAwsELBInvalidInstanceRule() *AwsELBInvalidInstanceRule
NewAwsELBInvalidInstanceRule returns new rule with default attributes
func (*AwsELBInvalidInstanceRule) Check ¶
func (r *AwsELBInvalidInstanceRule) Check(runner *tflint.Runner) error
Check checks whether `instances` are included in the list retrieved by `DescribeInstances`
func (*AwsELBInvalidInstanceRule) Enabled ¶
func (r *AwsELBInvalidInstanceRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsELBInvalidInstanceRule) Link ¶
func (r *AwsELBInvalidInstanceRule) Link() string
Link returns the rule reference link
func (*AwsELBInvalidInstanceRule) Name ¶
func (r *AwsELBInvalidInstanceRule) Name() string
Name returns the rule name
func (*AwsELBInvalidInstanceRule) Type ¶
func (r *AwsELBInvalidInstanceRule) Type() string
Type returns the rule severity
type AwsELBInvalidSecurityGroupRule ¶
type AwsELBInvalidSecurityGroupRule struct {
// contains filtered or unexported fields
}
AwsELBInvalidSecurityGroupRule checks whether security groups actually exists
func NewAwsELBInvalidSecurityGroupRule ¶
func NewAwsELBInvalidSecurityGroupRule() *AwsELBInvalidSecurityGroupRule
NewAwsELBInvalidSecurityGroupRule returns new rule with default attributes
func (*AwsELBInvalidSecurityGroupRule) Check ¶
func (r *AwsELBInvalidSecurityGroupRule) Check(runner *tflint.Runner) error
Check checks whether `security_groups` are included in the list retrieved by `DescribeSecurityGroups`
func (*AwsELBInvalidSecurityGroupRule) Enabled ¶
func (r *AwsELBInvalidSecurityGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsELBInvalidSecurityGroupRule) Link ¶
func (r *AwsELBInvalidSecurityGroupRule) Link() string
Link returns the rule reference link
func (*AwsELBInvalidSecurityGroupRule) Name ¶
func (r *AwsELBInvalidSecurityGroupRule) Name() string
Name returns the rule name
func (*AwsELBInvalidSecurityGroupRule) Type ¶
func (r *AwsELBInvalidSecurityGroupRule) Type() string
Type returns the rule severity
type AwsELBInvalidSubnetRule ¶
type AwsELBInvalidSubnetRule struct {
// contains filtered or unexported fields
}
AwsELBInvalidSubnetRule checks whether subnets actually exists
func NewAwsELBInvalidSubnetRule ¶
func NewAwsELBInvalidSubnetRule() *AwsELBInvalidSubnetRule
NewAwsELBInvalidSubnetRule returns new rule with default attributes
func (*AwsELBInvalidSubnetRule) Check ¶
func (r *AwsELBInvalidSubnetRule) Check(runner *tflint.Runner) error
Check checks whether `subnets` are included in the list retrieved by `DescribeSubnets`
func (*AwsELBInvalidSubnetRule) Enabled ¶
func (r *AwsELBInvalidSubnetRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsELBInvalidSubnetRule) Link ¶
func (r *AwsELBInvalidSubnetRule) Link() string
Link returns the rule reference link
func (*AwsELBInvalidSubnetRule) Name ¶
func (r *AwsELBInvalidSubnetRule) Name() string
Name returns the rule name
func (*AwsELBInvalidSubnetRule) Type ¶
func (r *AwsELBInvalidSubnetRule) Type() string
Type 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) Type ¶
func (r *AwsElastiCacheClusterDefaultParameterGroupRule) Type() string
Type returns the rule severity
type AwsElastiCacheClusterInvalidParameterGroupRule ¶
type AwsElastiCacheClusterInvalidParameterGroupRule struct {
// contains filtered or unexported fields
}
AwsElastiCacheClusterInvalidParameterGroupRule checks whether cache parameter group actually exists
func NewAwsElastiCacheClusterInvalidParameterGroupRule ¶
func NewAwsElastiCacheClusterInvalidParameterGroupRule() *AwsElastiCacheClusterInvalidParameterGroupRule
NewAwsElastiCacheClusterInvalidParameterGroupRule returns new rule with default attributes
func (*AwsElastiCacheClusterInvalidParameterGroupRule) Check ¶
func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Check(runner *tflint.Runner) error
Check checks whether `parameter_group_name` are included in the list retrieved by `DescribeCacheParameterGroups`
func (*AwsElastiCacheClusterInvalidParameterGroupRule) Enabled ¶
func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheClusterInvalidParameterGroupRule) Link ¶
func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheClusterInvalidParameterGroupRule) Name ¶
func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Name() string
Name returns the rule name
func (*AwsElastiCacheClusterInvalidParameterGroupRule) Type ¶
func (r *AwsElastiCacheClusterInvalidParameterGroupRule) Type() string
Type returns the rule severity
type AwsElastiCacheClusterInvalidSecurityGroupRule ¶
type AwsElastiCacheClusterInvalidSecurityGroupRule struct {
// contains filtered or unexported fields
}
AwsElastiCacheClusterInvalidSecurityGroupRule checks whether security groups actually exists
func NewAwsElastiCacheClusterInvalidSecurityGroupRule ¶
func NewAwsElastiCacheClusterInvalidSecurityGroupRule() *AwsElastiCacheClusterInvalidSecurityGroupRule
NewAwsElastiCacheClusterInvalidSecurityGroupRule returns new rule with default attributes
func (*AwsElastiCacheClusterInvalidSecurityGroupRule) Check ¶
func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Check(runner *tflint.Runner) error
Check checks whether `security_group_ids` are included in the list retrieved by `DescribeSecurityGroups`
func (*AwsElastiCacheClusterInvalidSecurityGroupRule) Enabled ¶
func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheClusterInvalidSecurityGroupRule) Link ¶
func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheClusterInvalidSecurityGroupRule) Name ¶
func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Name() string
Name returns the rule name
func (*AwsElastiCacheClusterInvalidSecurityGroupRule) Type ¶
func (r *AwsElastiCacheClusterInvalidSecurityGroupRule) Type() string
Type returns the rule severity
type AwsElastiCacheClusterInvalidSubnetGroupRule ¶
type AwsElastiCacheClusterInvalidSubnetGroupRule struct {
// contains filtered or unexported fields
}
AwsElastiCacheClusterInvalidSubnetGroupRule checks whether subnet groups actually exists
func NewAwsElastiCacheClusterInvalidSubnetGroupRule ¶
func NewAwsElastiCacheClusterInvalidSubnetGroupRule() *AwsElastiCacheClusterInvalidSubnetGroupRule
NewAwsElastiCacheClusterInvalidSubnetGroupRule returns new rule with default attributes
func (*AwsElastiCacheClusterInvalidSubnetGroupRule) Check ¶
func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Check(runner *tflint.Runner) error
Check checks whether `subnet_group_name` are included in the list retrieved by `DescribeCacheSubnetGroups`
func (*AwsElastiCacheClusterInvalidSubnetGroupRule) Enabled ¶
func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsElastiCacheClusterInvalidSubnetGroupRule) Link ¶
func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Link() string
Link returns the rule reference link
func (*AwsElastiCacheClusterInvalidSubnetGroupRule) Name ¶
func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Name() string
Name returns the rule name
func (*AwsElastiCacheClusterInvalidSubnetGroupRule) Type ¶
func (r *AwsElastiCacheClusterInvalidSubnetGroupRule) Type() string
Type 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) Type ¶
func (r *AwsElastiCacheClusterInvalidTypeRule) Type() string
Type 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) Type ¶
func (r *AwsElastiCacheClusterPreviousTypeRule) Type() string
Type returns the rule severity
type AwsInstanceDefaultStandardVolumeRule ¶
type AwsInstanceDefaultStandardVolumeRule struct {
// contains filtered or unexported fields
}
AwsInstanceDefaultStandardVolumeRule checks whether the volume type is unspecified
func NewAwsInstanceDefaultStandardVolumeRule ¶
func NewAwsInstanceDefaultStandardVolumeRule() *AwsInstanceDefaultStandardVolumeRule
NewAwsInstanceDefaultStandardVolumeRule returns new rule with default attributes
func (*AwsInstanceDefaultStandardVolumeRule) Check ¶
func (r *AwsInstanceDefaultStandardVolumeRule) Check(runner *tflint.Runner) error
Check checks whether `volume_type` is defined for `root_block_device` or `ebs_block_device`
func (*AwsInstanceDefaultStandardVolumeRule) Enabled ¶
func (r *AwsInstanceDefaultStandardVolumeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceDefaultStandardVolumeRule) Link ¶
func (r *AwsInstanceDefaultStandardVolumeRule) Link() string
Link returns the rule reference link
func (*AwsInstanceDefaultStandardVolumeRule) Name ¶
func (r *AwsInstanceDefaultStandardVolumeRule) Name() string
Name returns the rule name
func (*AwsInstanceDefaultStandardVolumeRule) Type ¶
func (r *AwsInstanceDefaultStandardVolumeRule) Type() string
Type returns the rule severity
type AwsInstanceInvalidAMIRule ¶
type AwsInstanceInvalidAMIRule struct {
// contains filtered or unexported fields
}
AwsInstanceInvalidAMIRule checks whether "aws_instance" has invalid AMI ID
func NewAwsInstanceInvalidAMIRule ¶
func NewAwsInstanceInvalidAMIRule() *AwsInstanceInvalidAMIRule
NewAwsInstanceInvalidAMIRule returns new rule with default attributes
func (*AwsInstanceInvalidAMIRule) Check ¶
func (r *AwsInstanceInvalidAMIRule) Check(runner *tflint.Runner) error
Check checks whether "aws_instance" has invalid AMI ID
func (*AwsInstanceInvalidAMIRule) Enabled ¶
func (r *AwsInstanceInvalidAMIRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceInvalidAMIRule) Link ¶
func (r *AwsInstanceInvalidAMIRule) Link() string
Link returns the rule reference link
func (*AwsInstanceInvalidAMIRule) Name ¶
func (r *AwsInstanceInvalidAMIRule) Name() string
Name returns the rule name
func (*AwsInstanceInvalidAMIRule) Type ¶
func (r *AwsInstanceInvalidAMIRule) Type() string
Type returns the rule severity
type AwsInstanceInvalidIAMProfileRule ¶
type AwsInstanceInvalidIAMProfileRule struct {
// contains filtered or unexported fields
}
AwsInstanceInvalidIAMProfileRule checks whether profile actually exists
func NewAwsInstanceInvalidIAMProfileRule ¶
func NewAwsInstanceInvalidIAMProfileRule() *AwsInstanceInvalidIAMProfileRule
NewAwsInstanceInvalidIAMProfileRule returns new rule with default attributes
func (*AwsInstanceInvalidIAMProfileRule) Check ¶
func (r *AwsInstanceInvalidIAMProfileRule) Check(runner *tflint.Runner) error
Check checks whether `iam_instance_profile` are included in the list retrieved by `ListInstanceProfiles`
func (*AwsInstanceInvalidIAMProfileRule) Enabled ¶
func (r *AwsInstanceInvalidIAMProfileRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceInvalidIAMProfileRule) Link ¶
func (r *AwsInstanceInvalidIAMProfileRule) Link() string
Link returns the rule reference link
func (*AwsInstanceInvalidIAMProfileRule) Name ¶
func (r *AwsInstanceInvalidIAMProfileRule) Name() string
Name returns the rule name
func (*AwsInstanceInvalidIAMProfileRule) Type ¶
func (r *AwsInstanceInvalidIAMProfileRule) Type() string
Type returns the rule severity
type AwsInstanceInvalidKeyNameRule ¶
type AwsInstanceInvalidKeyNameRule struct {
// contains filtered or unexported fields
}
AwsInstanceInvalidKeyNameRule checks whether key pair actually exists
func NewAwsInstanceInvalidKeyNameRule ¶
func NewAwsInstanceInvalidKeyNameRule() *AwsInstanceInvalidKeyNameRule
NewAwsInstanceInvalidKeyNameRule returns new rule with default attributes
func (*AwsInstanceInvalidKeyNameRule) Check ¶
func (r *AwsInstanceInvalidKeyNameRule) Check(runner *tflint.Runner) error
Check checks whether `key_name` are included in the list retrieved by `DescribeKeyPairs`
func (*AwsInstanceInvalidKeyNameRule) Enabled ¶
func (r *AwsInstanceInvalidKeyNameRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceInvalidKeyNameRule) Link ¶
func (r *AwsInstanceInvalidKeyNameRule) Link() string
Link returns the rule reference link
func (*AwsInstanceInvalidKeyNameRule) Name ¶
func (r *AwsInstanceInvalidKeyNameRule) Name() string
Name returns the rule name
func (*AwsInstanceInvalidKeyNameRule) Type ¶
func (r *AwsInstanceInvalidKeyNameRule) Type() string
Type returns the rule severity
type AwsInstanceInvalidSubnetRule ¶
type AwsInstanceInvalidSubnetRule struct {
// contains filtered or unexported fields
}
AwsInstanceInvalidSubnetRule checks whether subnet actually exists
func NewAwsInstanceInvalidSubnetRule ¶
func NewAwsInstanceInvalidSubnetRule() *AwsInstanceInvalidSubnetRule
NewAwsInstanceInvalidSubnetRule returns new rule with default attributes
func (*AwsInstanceInvalidSubnetRule) Check ¶
func (r *AwsInstanceInvalidSubnetRule) Check(runner *tflint.Runner) error
Check checks whether `subnet_id` are included in the list retrieved by `DescribeSubnets`
func (*AwsInstanceInvalidSubnetRule) Enabled ¶
func (r *AwsInstanceInvalidSubnetRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceInvalidSubnetRule) Link ¶
func (r *AwsInstanceInvalidSubnetRule) Link() string
Link returns the rule reference link
func (*AwsInstanceInvalidSubnetRule) Name ¶
func (r *AwsInstanceInvalidSubnetRule) Name() string
Name returns the rule name
func (*AwsInstanceInvalidSubnetRule) Type ¶
func (r *AwsInstanceInvalidSubnetRule) Type() string
Type returns the rule severity
type AwsInstanceInvalidTypeRule ¶
type AwsInstanceInvalidTypeRule struct {
// contains filtered or unexported fields
}
AwsInstanceInvalidTypeRule checks whether "aws_instance" has invalid intance type.
func NewAwsInstanceInvalidTypeRule ¶
func NewAwsInstanceInvalidTypeRule() *AwsInstanceInvalidTypeRule
NewAwsInstanceInvalidTypeRule returns new rule with default attributes
func (*AwsInstanceInvalidTypeRule) Check ¶
func (r *AwsInstanceInvalidTypeRule) Check(runner *tflint.Runner) error
Check checks whether "aws_instance" has invalid instance type.
func (*AwsInstanceInvalidTypeRule) Enabled ¶
func (r *AwsInstanceInvalidTypeRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceInvalidTypeRule) Link ¶
func (r *AwsInstanceInvalidTypeRule) Link() string
Link returns the rule reference link
func (*AwsInstanceInvalidTypeRule) Name ¶
func (r *AwsInstanceInvalidTypeRule) Name() string
Name returns the rule name
func (*AwsInstanceInvalidTypeRule) Type ¶
func (r *AwsInstanceInvalidTypeRule) Type() string
Type returns the rule severity
type AwsInstanceInvalidVPCSecurityGroupRule ¶
type AwsInstanceInvalidVPCSecurityGroupRule struct {
// contains filtered or unexported fields
}
AwsInstanceInvalidVPCSecurityGroupRule checks whether security groups actually exists
func NewAwsInstanceInvalidVPCSecurityGroupRule ¶
func NewAwsInstanceInvalidVPCSecurityGroupRule() *AwsInstanceInvalidVPCSecurityGroupRule
NewAwsInstanceInvalidVPCSecurityGroupRule returns new rule with default attributes
func (*AwsInstanceInvalidVPCSecurityGroupRule) Check ¶
func (r *AwsInstanceInvalidVPCSecurityGroupRule) Check(runner *tflint.Runner) error
Check checks whether `vpc_security_group_ids` are included in the list retrieved by `DescribeSecurityGroups`
func (*AwsInstanceInvalidVPCSecurityGroupRule) Enabled ¶
func (r *AwsInstanceInvalidVPCSecurityGroupRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsInstanceInvalidVPCSecurityGroupRule) Link ¶
func (r *AwsInstanceInvalidVPCSecurityGroupRule) Link() string
Link returns the rule reference link
func (*AwsInstanceInvalidVPCSecurityGroupRule) Name ¶
func (r *AwsInstanceInvalidVPCSecurityGroupRule) Name() string
Name returns the rule name
func (*AwsInstanceInvalidVPCSecurityGroupRule) Type ¶
func (r *AwsInstanceInvalidVPCSecurityGroupRule) Type() string
Type 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) Type ¶
func (r *AwsInstancePreviousTypeRule) Type() string
Type returns the rule severity
type AwsRouteInvalidEgressOnlyGatewayRule ¶
type AwsRouteInvalidEgressOnlyGatewayRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidEgressOnlyGatewayRule checks whether egress only gateway actually exists
func NewAwsRouteInvalidEgressOnlyGatewayRule ¶
func NewAwsRouteInvalidEgressOnlyGatewayRule() *AwsRouteInvalidEgressOnlyGatewayRule
NewAwsRouteInvalidEgressOnlyGatewayRule returns new rule with default attributes
func (*AwsRouteInvalidEgressOnlyGatewayRule) Check ¶
func (r *AwsRouteInvalidEgressOnlyGatewayRule) Check(runner *tflint.Runner) error
Check checks whether `egress_only_gateway_id` are included in the list retrieved by `DescribeEgressOnlyInternetGateways`
func (*AwsRouteInvalidEgressOnlyGatewayRule) Enabled ¶
func (r *AwsRouteInvalidEgressOnlyGatewayRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidEgressOnlyGatewayRule) Link ¶
func (r *AwsRouteInvalidEgressOnlyGatewayRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidEgressOnlyGatewayRule) Name ¶
func (r *AwsRouteInvalidEgressOnlyGatewayRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidEgressOnlyGatewayRule) Type ¶
func (r *AwsRouteInvalidEgressOnlyGatewayRule) Type() string
Type returns the rule severity
type AwsRouteInvalidGatewayRule ¶
type AwsRouteInvalidGatewayRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidGatewayRule checks whether internet gateway actually exists
func NewAwsRouteInvalidGatewayRule ¶
func NewAwsRouteInvalidGatewayRule() *AwsRouteInvalidGatewayRule
NewAwsRouteInvalidGatewayRule returns new rule with default attributes
func (*AwsRouteInvalidGatewayRule) Check ¶
func (r *AwsRouteInvalidGatewayRule) Check(runner *tflint.Runner) error
Check checks whether `gateway_id` are included in the list retrieved by `DescribeInternetGateways`
func (*AwsRouteInvalidGatewayRule) Enabled ¶
func (r *AwsRouteInvalidGatewayRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidGatewayRule) Link ¶
func (r *AwsRouteInvalidGatewayRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidGatewayRule) Name ¶
func (r *AwsRouteInvalidGatewayRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidGatewayRule) Type ¶
func (r *AwsRouteInvalidGatewayRule) Type() string
Type returns the rule severity
type AwsRouteInvalidInstanceRule ¶
type AwsRouteInvalidInstanceRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidInstanceRule checks whether instance actually exists
func NewAwsRouteInvalidInstanceRule ¶
func NewAwsRouteInvalidInstanceRule() *AwsRouteInvalidInstanceRule
NewAwsRouteInvalidInstanceRule returns new rule with default attributes
func (*AwsRouteInvalidInstanceRule) Check ¶
func (r *AwsRouteInvalidInstanceRule) Check(runner *tflint.Runner) error
Check checks whether `instance_id` are included in the list retrieved by `DescribeInstances`
func (*AwsRouteInvalidInstanceRule) Enabled ¶
func (r *AwsRouteInvalidInstanceRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidInstanceRule) Link ¶
func (r *AwsRouteInvalidInstanceRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidInstanceRule) Name ¶
func (r *AwsRouteInvalidInstanceRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidInstanceRule) Type ¶
func (r *AwsRouteInvalidInstanceRule) Type() string
Type returns the rule severity
type AwsRouteInvalidNatGatewayRule ¶
type AwsRouteInvalidNatGatewayRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidNatGatewayRule checks whether NAT gateway actually exists
func NewAwsRouteInvalidNatGatewayRule ¶
func NewAwsRouteInvalidNatGatewayRule() *AwsRouteInvalidNatGatewayRule
NewAwsRouteInvalidNatGatewayRule returns new rule with default attributes
func (*AwsRouteInvalidNatGatewayRule) Check ¶
func (r *AwsRouteInvalidNatGatewayRule) Check(runner *tflint.Runner) error
Check checks whether `nat_gateway_id` are included in the list retrieved by `DescribeNatGateways`
func (*AwsRouteInvalidNatGatewayRule) Enabled ¶
func (r *AwsRouteInvalidNatGatewayRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidNatGatewayRule) Link ¶
func (r *AwsRouteInvalidNatGatewayRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidNatGatewayRule) Name ¶
func (r *AwsRouteInvalidNatGatewayRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidNatGatewayRule) Type ¶
func (r *AwsRouteInvalidNatGatewayRule) Type() string
Type returns the rule severity
type AwsRouteInvalidNetworkInterfaceRule ¶
type AwsRouteInvalidNetworkInterfaceRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidNetworkInterfaceRule checks whether network interface actually exists
func NewAwsRouteInvalidNetworkInterfaceRule ¶
func NewAwsRouteInvalidNetworkInterfaceRule() *AwsRouteInvalidNetworkInterfaceRule
NewAwsRouteInvalidNetworkInterfaceRule returns new rule with default attributes
func (*AwsRouteInvalidNetworkInterfaceRule) Check ¶
func (r *AwsRouteInvalidNetworkInterfaceRule) Check(runner *tflint.Runner) error
Check checks whether `network_interface_id` are included in the list retrieved by `DescribeNetworkInterfaces`
func (*AwsRouteInvalidNetworkInterfaceRule) Enabled ¶
func (r *AwsRouteInvalidNetworkInterfaceRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidNetworkInterfaceRule) Link ¶
func (r *AwsRouteInvalidNetworkInterfaceRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidNetworkInterfaceRule) Name ¶
func (r *AwsRouteInvalidNetworkInterfaceRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidNetworkInterfaceRule) Type ¶
func (r *AwsRouteInvalidNetworkInterfaceRule) Type() string
Type returns the rule severity
type AwsRouteInvalidRouteTableRule ¶
type AwsRouteInvalidRouteTableRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidRouteTableRule checks whether route table actually exists
func NewAwsRouteInvalidRouteTableRule ¶
func NewAwsRouteInvalidRouteTableRule() *AwsRouteInvalidRouteTableRule
NewAwsRouteInvalidRouteTableRule returns new rule with default attributes
func (*AwsRouteInvalidRouteTableRule) Check ¶
func (r *AwsRouteInvalidRouteTableRule) Check(runner *tflint.Runner) error
Check checks whether `route_table_id` are included in the list retrieved by `DescribeRouteTables`
func (*AwsRouteInvalidRouteTableRule) Enabled ¶
func (r *AwsRouteInvalidRouteTableRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidRouteTableRule) Link ¶
func (r *AwsRouteInvalidRouteTableRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidRouteTableRule) Name ¶
func (r *AwsRouteInvalidRouteTableRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidRouteTableRule) Type ¶
func (r *AwsRouteInvalidRouteTableRule) Type() string
Type returns the rule severity
type AwsRouteInvalidVPCPeeringConnectionRule ¶
type AwsRouteInvalidVPCPeeringConnectionRule struct {
// contains filtered or unexported fields
}
AwsRouteInvalidVPCPeeringConnectionRule checks whether VPC peering connection actually exists
func NewAwsRouteInvalidVPCPeeringConnectionRule ¶
func NewAwsRouteInvalidVPCPeeringConnectionRule() *AwsRouteInvalidVPCPeeringConnectionRule
NewAwsRouteInvalidVPCPeeringConnectionRule returns new rule with default attributes
func (*AwsRouteInvalidVPCPeeringConnectionRule) Check ¶
func (r *AwsRouteInvalidVPCPeeringConnectionRule) Check(runner *tflint.Runner) error
Check checks whether `vpc_peering_connection_id` are included in the list retrieved by `DescribeVpcPeeringConnections`
func (*AwsRouteInvalidVPCPeeringConnectionRule) Enabled ¶
func (r *AwsRouteInvalidVPCPeeringConnectionRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*AwsRouteInvalidVPCPeeringConnectionRule) Link ¶
func (r *AwsRouteInvalidVPCPeeringConnectionRule) Link() string
Link returns the rule reference link
func (*AwsRouteInvalidVPCPeeringConnectionRule) Name ¶
func (r *AwsRouteInvalidVPCPeeringConnectionRule) Name() string
Name returns the rule name
func (*AwsRouteInvalidVPCPeeringConnectionRule) Type ¶
func (r *AwsRouteInvalidVPCPeeringConnectionRule) Type() string
Type 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` or `network_interface_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) Type ¶
func (r *AwsRouteNotSpecifiedTargetRule) Type() string
Type 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) Type ¶
func (r *AwsRouteSpecifiedMultipleTargetsRule) Type() string
Type returns the rule severity
Source Files ¶
- aws_alb_invalid_security_group.go
- aws_alb_invalid_subnet.go
- aws_cloudwatch_metric_alarm_invalid_unit.go
- aws_db_instance_default_parameter_group.go
- aws_db_instance_invalid_db_subnet_group.go
- aws_db_instance_invalid_option_group.go
- aws_db_instance_invalid_parameter_group.go
- aws_db_instance_invalid_type.go
- aws_db_instance_invalid_vpc_security_group.go
- aws_db_instance_previous_type.go
- aws_db_instance_readable_password.go
- aws_elasticache_cluster_default_parameter_group.go
- aws_elasticache_cluster_invalid_parameter_group.go
- aws_elasticache_cluster_invalid_security_group.go
- aws_elasticache_cluster_invalid_subnet_group.go
- aws_elasticache_cluster_invalid_type.go
- aws_elasticache_cluster_previous_type.go
- aws_elb_invalid_instance.go
- aws_elb_invalid_security_group.go
- aws_elb_invalid_subnet.go
- aws_instance_default_standard_volume.go
- aws_instance_invalid_ami.go
- aws_instance_invalid_iam_profile.go
- aws_instance_invalid_key_name.go
- aws_instance_invalid_subnet.go
- aws_instance_invalid_type.go
- aws_instance_invalid_vpc_security_group.go
- aws_instance_previous_type.go
- aws_route_invalid_egress_only_gateway.go
- aws_route_invalid_gateway.go
- aws_route_invalid_instance.go
- aws_route_invalid_nat_gateway.go
- aws_route_invalid_network_interface.go
- aws_route_invalid_route_table.go
- aws_route_invalid_vpc_peering_connection.go
- aws_route_not_specified_target.go
- aws_route_specified_multiple_targets.go