awsrules

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MPL-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsDBInstanceDefaultParameterGroupRule

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

AwsDBInstanceDefaultParameterGroupRule checks whether the db instance use default parameter group

func NewAwsDBInstanceDefaultParameterGroupRule

func NewAwsDBInstanceDefaultParameterGroupRule() *AwsDBInstanceDefaultParameterGroupRule

NewAwsDBInstanceDefaultParameterGroupRule returns new rule with default attributes

func (*AwsDBInstanceDefaultParameterGroupRule) Check

Check checks the parameter group name starts with `default`

func (*AwsDBInstanceDefaultParameterGroupRule) Enabled

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsDBInstanceDefaultParameterGroupRule) Name

Name returns the rule name

func (*AwsDBInstanceDefaultParameterGroupRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsDBInstanceInvalidTypeRule

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

AwsDBInstanceInvalidTypeRule checks whether "aws_db_instance" has invalid intance type.

func NewAwsDBInstanceInvalidTypeRule

func NewAwsDBInstanceInvalidTypeRule() *AwsDBInstanceInvalidTypeRule

NewAwsDBInstanceInvalidTypeRule returns new rule with default attributes

func (*AwsDBInstanceInvalidTypeRule) Check

func (r *AwsDBInstanceInvalidTypeRule) Check(runner *tflint.Runner) error

Check checks whether "aws_db_instance" has invalid instance type.

func (*AwsDBInstanceInvalidTypeRule) Enabled

func (r *AwsDBInstanceInvalidTypeRule) Enabled() bool

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsDBInstanceInvalidTypeRule) Name

Name returns the rule name

func (*AwsDBInstanceInvalidTypeRule) Severity added in v0.8.5

func (r *AwsDBInstanceInvalidTypeRule) Severity() string

Severity returns the rule severity

type AwsDBInstancePreviousTypeRule

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

AwsDBInstancePreviousTypeRule checks whether the resource uses previous generation instance type

func NewAwsDBInstancePreviousTypeRule

func NewAwsDBInstancePreviousTypeRule() *AwsDBInstancePreviousTypeRule

NewAwsDBInstancePreviousTypeRule returns new rule with default attributes

func (*AwsDBInstancePreviousTypeRule) Check

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

Link returns the rule reference link

func (*AwsDBInstancePreviousTypeRule) Name

Name returns the rule name

func (*AwsDBInstancePreviousTypeRule) Severity added in v0.8.5

func (r *AwsDBInstancePreviousTypeRule) Severity() string

Severity returns the rule severity

type AwsDynamoDBTableInvalidStreamViewTypeRule added in v0.8.5

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

AwsDynamoDBTableInvalidStreamViewTypeRule checks the pattern is valid

func NewAwsDynamoDBTableInvalidStreamViewTypeRule added in v0.8.5

func NewAwsDynamoDBTableInvalidStreamViewTypeRule() *AwsDynamoDBTableInvalidStreamViewTypeRule

NewAwsDynamoDBTableInvalidStreamViewTypeRule returns new rule with default attributes

func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Check added in v0.8.5

Check checks the pattern is valid

func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Enabled added in v0.8.5

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Name added in v0.8.5

Name returns the rule name

func (*AwsDynamoDBTableInvalidStreamViewTypeRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsElastiCacheClusterDefaultParameterGroupRule

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

AwsElastiCacheClusterDefaultParameterGroupRule checks whether the cluster use default parameter group

func NewAwsElastiCacheClusterDefaultParameterGroupRule

func NewAwsElastiCacheClusterDefaultParameterGroupRule() *AwsElastiCacheClusterDefaultParameterGroupRule

NewAwsElastiCacheClusterDefaultParameterGroupRule returns new rule with default attributes

func (*AwsElastiCacheClusterDefaultParameterGroupRule) Check

Check checks the parameter group name starts with `default`

func (*AwsElastiCacheClusterDefaultParameterGroupRule) Enabled

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsElastiCacheClusterDefaultParameterGroupRule) Name

Name returns the rule name

func (*AwsElastiCacheClusterDefaultParameterGroupRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsElastiCacheClusterInvalidTypeRule

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

AwsElastiCacheClusterInvalidTypeRule checks whether "aws_elasticache_cluster" has invalid node type.

func NewAwsElastiCacheClusterInvalidTypeRule

func NewAwsElastiCacheClusterInvalidTypeRule() *AwsElastiCacheClusterInvalidTypeRule

NewAwsElastiCacheClusterInvalidTypeRule returns new rule with default attributes

func (*AwsElastiCacheClusterInvalidTypeRule) Check

Check checks whether "aws_elasticache_cluster" has invalid node type.

func (*AwsElastiCacheClusterInvalidTypeRule) Enabled

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsElastiCacheClusterInvalidTypeRule) Name

Name returns the rule name

func (*AwsElastiCacheClusterInvalidTypeRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsElastiCacheClusterPreviousTypeRule

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

AwsElastiCacheClusterPreviousTypeRule checks whether the resource uses previous generation node type

func NewAwsElastiCacheClusterPreviousTypeRule

func NewAwsElastiCacheClusterPreviousTypeRule() *AwsElastiCacheClusterPreviousTypeRule

NewAwsElastiCacheClusterPreviousTypeRule returns new rule with default attributes

func (*AwsElastiCacheClusterPreviousTypeRule) Check

Check checks whether the resource's `node_type` is included in the list of previous generation node type

func (*AwsElastiCacheClusterPreviousTypeRule) Enabled

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsElastiCacheClusterPreviousTypeRule) Name

Name returns the rule name

func (*AwsElastiCacheClusterPreviousTypeRule) Severity added in v0.8.5

Severity 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

Link returns the rule reference link

func (*AwsInstanceInvalidAMIRule) Name

Name returns the rule name

func (*AwsInstanceInvalidAMIRule) Severity added in v0.8.5

func (r *AwsInstanceInvalidAMIRule) Severity() string

Severity returns the rule severity

type AwsInstancePreviousTypeRule

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

AwsInstancePreviousTypeRule checks whether the resource uses previous generation instance type

func NewAwsInstancePreviousTypeRule

func NewAwsInstancePreviousTypeRule() *AwsInstancePreviousTypeRule

NewAwsInstancePreviousTypeRule returns new rule with default attributes

func (*AwsInstancePreviousTypeRule) Check

func (r *AwsInstancePreviousTypeRule) Check(runner *tflint.Runner) error

Check checks whether the resource's `instance_type` is included in the list of previous generation instance type

func (*AwsInstancePreviousTypeRule) Enabled

func (r *AwsInstancePreviousTypeRule) Enabled() bool

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsInstancePreviousTypeRule) Name

Name returns the rule name

func (*AwsInstancePreviousTypeRule) Severity added in v0.8.5

func (r *AwsInstancePreviousTypeRule) Severity() string

Severity returns the rule severity

type AwsLaunchConfigurationInvalidImageIDRule added in v0.8.5

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

AwsLaunchConfigurationInvalidImageIDRule checks whether "aws_instance" has invalid AMI ID

func NewAwsLaunchConfigurationInvalidImageIDRule added in v0.8.5

func NewAwsLaunchConfigurationInvalidImageIDRule() *AwsLaunchConfigurationInvalidImageIDRule

NewAwsLaunchConfigurationInvalidImageIDRule returns new rule with default attributes

func (*AwsLaunchConfigurationInvalidImageIDRule) Check added in v0.8.5

Check checks whether "aws_instance" has invalid AMI ID

func (*AwsLaunchConfigurationInvalidImageIDRule) Enabled added in v0.8.5

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsLaunchConfigurationInvalidImageIDRule) Name added in v0.8.5

Name returns the rule name

func (*AwsLaunchConfigurationInvalidImageIDRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsMqBrokerInvalidEngineTypeRule added in v0.8.5

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

AwsMqBrokerInvalidEngineTypeRule checks the pattern is valid

func NewAwsMqBrokerInvalidEngineTypeRule added in v0.8.5

func NewAwsMqBrokerInvalidEngineTypeRule() *AwsMqBrokerInvalidEngineTypeRule

NewAwsMqBrokerInvalidEngineTypeRule returns new rule with default attributes

func (*AwsMqBrokerInvalidEngineTypeRule) Check added in v0.8.5

Check checks the pattern is valid

func (*AwsMqBrokerInvalidEngineTypeRule) Enabled added in v0.8.5

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsMqBrokerInvalidEngineTypeRule) Name added in v0.8.5

Name returns the rule name

func (*AwsMqBrokerInvalidEngineTypeRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsMqConfigurationInvalidEngineTypeRule added in v0.8.5

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

AwsMqConfigurationInvalidEngineTypeRule checks the pattern is valid

func NewAwsMqConfigurationInvalidEngineTypeRule added in v0.8.5

func NewAwsMqConfigurationInvalidEngineTypeRule() *AwsMqConfigurationInvalidEngineTypeRule

NewAwsMqConfigurationInvalidEngineTypeRule returns new rule with default attributes

func (*AwsMqConfigurationInvalidEngineTypeRule) Check added in v0.8.5

Check checks the pattern is valid

func (*AwsMqConfigurationInvalidEngineTypeRule) Enabled added in v0.8.5

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsMqConfigurationInvalidEngineTypeRule) Name added in v0.8.5

Name returns the rule name

func (*AwsMqConfigurationInvalidEngineTypeRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsResourceMissingTagsRule added in v0.8.5

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

AwsResourceMissingTagsRule checks whether the resource is tagged correctly

func NewAwsResourceMissingTagsRule added in v0.8.5

func NewAwsResourceMissingTagsRule() *AwsResourceMissingTagsRule

NewAwsResourceMissingTagsRule returns new rules for all resources that support tags

func (*AwsResourceMissingTagsRule) Check added in v0.8.5

func (r *AwsResourceMissingTagsRule) Check(runner *tflint.Runner) error

Check checks resources for missing tags

func (*AwsResourceMissingTagsRule) Enabled added in v0.8.5

func (r *AwsResourceMissingTagsRule) Enabled() bool

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsResourceMissingTagsRule) Name added in v0.8.5

Name returns the rule name

func (*AwsResourceMissingTagsRule) Severity added in v0.8.5

func (r *AwsResourceMissingTagsRule) Severity() string

Severity returns the rule severity

type AwsRouteNotSpecifiedTargetRule

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

AwsRouteNotSpecifiedTargetRule checks whether a route definition has a routing target

func NewAwsRouteNotSpecifiedTargetRule

func NewAwsRouteNotSpecifiedTargetRule() *AwsRouteNotSpecifiedTargetRule

NewAwsRouteNotSpecifiedTargetRule returns new rule with default attributes

func (*AwsRouteNotSpecifiedTargetRule) Check

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

Link returns the rule reference link

func (*AwsRouteNotSpecifiedTargetRule) Name

Name returns the rule name

func (*AwsRouteNotSpecifiedTargetRule) Severity added in v0.8.5

func (r *AwsRouteNotSpecifiedTargetRule) Severity() string

Severity returns the rule severity

type AwsRouteSpecifiedMultipleTargetsRule

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

AwsRouteSpecifiedMultipleTargetsRule checks whether a route definition has multiple routing targets

func NewAwsRouteSpecifiedMultipleTargetsRule

func NewAwsRouteSpecifiedMultipleTargetsRule() *AwsRouteSpecifiedMultipleTargetsRule

NewAwsRouteSpecifiedMultipleTargetsRule returns new rule with default attributes

func (*AwsRouteSpecifiedMultipleTargetsRule) Check

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

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsRouteSpecifiedMultipleTargetsRule) Name

Name returns the rule name

func (*AwsRouteSpecifiedMultipleTargetsRule) Severity added in v0.8.5

Severity returns the rule severity

type AwsS3BucketInvalidACLRule added in v0.8.5

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

AwsS3BucketInvalidACLRule checks the pattern is valid

func NewAwsS3BucketInvalidACLRule added in v0.8.5

func NewAwsS3BucketInvalidACLRule() *AwsS3BucketInvalidACLRule

NewAwsS3BucketInvalidACLRule returns new rule with default attributes

func (*AwsS3BucketInvalidACLRule) Check added in v0.8.5

func (r *AwsS3BucketInvalidACLRule) Check(runner *tflint.Runner) error

Check checks the pattern is valid

func (*AwsS3BucketInvalidACLRule) Enabled added in v0.8.5

func (r *AwsS3BucketInvalidACLRule) Enabled() bool

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsS3BucketInvalidACLRule) Name added in v0.8.5

Name returns the rule name

func (*AwsS3BucketInvalidACLRule) Severity added in v0.8.5

func (r *AwsS3BucketInvalidACLRule) Severity() string

Severity returns the rule severity

type AwsS3BucketInvalidRegionRule added in v0.8.5

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

AwsS3BucketInvalidRegionRule checks the pattern is valid

func NewAwsS3BucketInvalidRegionRule added in v0.8.5

func NewAwsS3BucketInvalidRegionRule() *AwsS3BucketInvalidRegionRule

NewAwsS3BucketInvalidRegionRule returns new rule with default attributes

func (*AwsS3BucketInvalidRegionRule) Check added in v0.8.5

func (r *AwsS3BucketInvalidRegionRule) Check(runner *tflint.Runner) error

Check checks the pattern is valid

func (*AwsS3BucketInvalidRegionRule) Enabled added in v0.8.5

func (r *AwsS3BucketInvalidRegionRule) Enabled() bool

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsS3BucketInvalidRegionRule) Name added in v0.8.5

Name returns the rule name

func (*AwsS3BucketInvalidRegionRule) Severity added in v0.8.5

func (r *AwsS3BucketInvalidRegionRule) Severity() string

Severity returns the rule severity

type AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule added in v0.8.5

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

AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule checks the pattern is valid

func NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule added in v0.8.5

func NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule() *AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule

NewAwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule returns new rule with default attributes

func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Check added in v0.8.5

Check checks the pattern is valid

func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Enabled added in v0.8.5

Enabled returns whether the rule is enabled by default

Link returns the rule reference link

func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Name added in v0.8.5

Name returns the rule name

func (*AwsSpotFleetRequestInvalidExcessCapacityTerminationPolicyRule) Severity added in v0.8.5

Severity returns the rule severity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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