Automatic daily builds ☕! This repo shows the current state of linters/static checks in the Terraform AWS provider Go code. This repo uses the linters below.
Find out more:
- AWS provider
- AWS provider linter
- Terraform provider linter
- AWS provider stats
- AWS provider conventions
- AWS provider static checks
Count: 0
Count: 0
Count: 551 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_codedeploy_deployment_group_test.go:1639:33: AWSAT003: regions should not be hardcoded, use aws_region and aws_availability_zones data sources instead
Count: 0
Count: 227 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_cloudwatch_log_resource_policy_test.go:81:70: AWSAT005: avoid hardcoded ARN AWS partitions, use aws_partition data source
Count: 487 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_db_option_group_test.go:735:21: AWSAT006: avoid hardcoding AWS partition DNS suffixes, instead use the aws_partition data source
Count: 0
Count: 0
Count: 439 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_codedeploy_deployment_group.go:144:50: AWSV001: prefer AWS Go SDK ENUM_Values() function (ignore if not applicable)
Count: 0
Count: 0
Count: 0
Count: 14 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_instance_test.go:3361:78: AT004: provider declaration should be omitted
Count: 0
Count: 0
Count: 0
Count: 0
Count: 17 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/opsworks_layers.go:576:12: R001: ResourceData.Set() key argument should be string literal
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 63 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_sns_topic.go:331:3: R010: prefer d.Get() over d.GetChange() when only using second return value
Count: 0
Count: 0
Count: 0
Count: 0
Count: 19 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/data_source_aws_ec2_instance_type_offering.go:125:10: R015: schema attributes should be stable across Terraform runs
Count: 6 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_iam_user_policy_attachment.go:50:10: R016: schema attributes should be stable across Terraform runs
Count: 26 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/data_source_aws_inspector_rules_packages.go:32:10: R017: schema attributes should be stable across Terraform runs
Count: 198 List matches
Example: -S023
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 124 List matches
Example: /home/travis/gopath/src/github.com/terraform-providers/terraform-provider-aws/aws/validators.go:2328:1: V001: custom SchemaValidateFunc should be replaced with validation.StringMatch() or validation.StringDoesNotMatch()
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0
Count: 0