Skip to content

Latest commit

 

History

History
 
 

rules

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Rules

Rules related to AWS provider and Terraform are available. These rules are enabled by default.

AWS Rules

These rules relate to AWS provider.

Possible Errors

These rules warn of possible errors that can occur at terraform apply. Rules marked with Deep are only used when enabling deep checking:

Rule Deep
aws_alb_invalid_security_group
aws_alb_invalid_subnet
aws_db_instance_invalid_db_subnet_group
aws_db_instance_invalid_option_group
aws_db_instance_invalid_parameter_group
aws_db_instance_invalid_type
aws_db_instance_invalid_vpc_security_group
aws_elasticache_cluster_invalid_parameter_group
aws_elasticache_cluster_invalid_security_group
aws_elasticache_cluster_invalid_subnet_group
aws_elasticache_cluster_invalid_type
aws_elb_invalid_instance
aws_elb_invalid_security_group
aws_elb_invalid_subnet
aws_instance_invalid_ami
aws_instance_invalid_iam_profile
aws_instance_invalid_key_name
aws_instance_invalid_subnet
aws_instance_invalid_vpc_security_group
aws_launch_configuration_invalid_iam_profile
aws_launch_configuration_invalid_image_id
aws_route_invalid_egress_only_gateway
aws_route_invalid_gateway
aws_route_invalid_instance
aws_route_invalid_nat_gateway
aws_route_invalid_network_interface
aws_route_invalid_route_table
aws_route_invalid_vpc_peering_connection
aws_route_not_specified_target
aws_route_specified_multiple_targets

SDK-based Validations

700+ rules based on the aws-sdk validations are also available. See full list.

Best Practices

These rules suggest to better ways.

Terraform Rules

These rules relate to Terraform itself, not providers.

Best Practices

These rules suggest to better ways.

Rule Enabled by default
terraform_deprecated_interpolation
terraform_deprecated_index
terraform_unused_declarations
terraform_comment_syntax
terraform_documented_outputs
terraform_documented_variables
terraform_typed_variables
terraform_module_pinned_source
terraform_naming_convention
terraform_required_version
terraform_required_providers
terraform_standard_module_structure
terraform_workspace_remote