github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/CHANGELOG.md (about) 1 ## 0.12.1 (2019-10-12) 2 3 ### Enhancements 4 5 - [#467](https://github.com/wata727/tflint/pull/467): Bump github.com/mattn/go-colorable from 0.1.2 to 0.1.4 6 - [#476](https://github.com/wata727/tflint/pull/476): Bump github.com/hashicorp/aws-sdk-go-base from 0.3.0 to 0.4.0 7 - [#482](https://github.com/wata727/tflint/pull/482): TFLint is now compatible with Terraform v0.12.10 8 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.10 9 - Support new built-in functions: `parseint` and `cidrsubnets` 10 - [#484](https://github.com/wata727/tflint/pull/484): Bump terraform-provider-aws from v2.30.0 to v2.32.0 11 12 ### Chores 13 14 - [#471](https://github.com/wata727/tflint/pull/471): Bump TFLint version in issue template ([@abitrolly](https://github.com/abitrolly)) 15 - [#474](https://github.com/wata727/tflint/pull/474): Switch to HCL 2.0 in the HCL repository ([@explodingcamera](https://github.com/explodingcamera)) 16 - [#487](https://github.com/wata727/tflint/pull/487): Test tools in GitHub Actions 17 18 ## 0.12.0 (2019-09-29) 19 20 This release includes an experimental Language Server Procotol support. Using LSP makes it easy to integrate TFLint with your favorite editor. Currently, only diagnostics are provided. 21 22 ### Breaking Changes 23 24 - [#454](https://github.com/wata727/tflint/pull/454): Remove deprecated `ignore-rule` option 25 - `--ignore-rule` CLI flag and config attribute are removed. Please use `--disable-rule`, or define a `rule` block with `enabled = false` in your TFLint config file. 26 - Note that `--disable-rule` behaves differently than `--ignore-rule`. Since `--ignore-rule` is deprecated, it was overridden by the value defined in rule blocks, but `--disable-rule` always takes precedence. 27 28 ### Enhancements 29 30 - [#439](https://github.com/wata727/tflint/pull/439): Experimental language server support 31 - `tflint --langserver` launches a Language Server which speaks LSP v3.14.0. 32 - [#455](https://github.com/wata727/tflint/pull/455): Add `--enable-rule` and `--disable-rule` options 33 - [#456](https://github.com/wata727/tflint/pull/456): Allow specifying multiple `--ignore-module` and `--var-file` flags 34 - You can use these flags multiple times. The previous style is still valid for backward compatibility. 35 - [#459](https://github.com/wata727/tflint/pull/459): rule: Add m5, r5, and z1d RDS instance families and m3 and r3 families will be previous generations 36 - [#460](https://github.com/wata727/tflint/pull/460): rule: Add m3 and r3 ElastiCache node types as previous generations 37 - [#461](https://github.com/wata727/tflint/pull/461): rule: Add m3, c3, g2, r3, and i2 EC2 instance families as previous generations 38 - [#462](https://github.com/wata727/tflint/pull/462): rule: Add aws-exec-read bucket ACL as a valid value 39 - [#463](https://github.com/wata727/tflint/pull/463): Bump terraform-provider-aws from v2.28.1 to v2.30.0 40 - Add g4dn instance family 41 - The limit of length for config rule name will be changed 128 characters from 64 42 - Add regexp validation for config rule name 43 44 ### Chores 45 46 - [#449](https://github.com/wata727/tflint/pull/449): docs: Add annotations page 47 - [#450](https://github.com/wata727/tflint/pull/450): Add issue templates 48 - [#451](https://github.com/wata727/tflint/pull/451): docs: Assume role is supported 49 - [#457](https://github.com/wata727/tflint/pull/457): Tweak log levels 50 - [#458](https://github.com/wata727/tflint/pull/458): Remove project package 51 52 ## 0.11.2 (2019-09-19) 53 54 ### Enhancements 55 56 - [#445](https://github.com/wata727/tflint/pull/445): TFLint is now compatible with Terraform v0.12.9 57 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.9 58 - [#446](https://github.com/wata727/tflint/pull/446): Bump terraform-provider-aws from v2.27.0 to v2.28.1 59 - No changes for rules 60 61 ### BugFixes 62 63 - [#442](https://github.com/wata727/tflint/pull/442): aws_s3_bucket_invalid_region_rule: Fix false positives 64 - [#443](https://github.com/wata727/tflint/pull/443): config: Fix panic when the expression includes invalid references 65 66 ### Chores 67 68 - [#435](https://github.com/wata727/tflint/pull/435): docs: Add Linix oneliner to download latest `tflint` ([@abitrolly](https://github.com/abitrolly)) 69 - [#437](https://github.com/wata727/tflint/pull/437): docs: Fix typo in dash rule ([@abitrolly](https://github.com/abitrolly)) 70 71 ## 0.11.1 (2019-09-11) 72 73 ### Chores 74 75 - [#429](https://github.com/wata727/tflint/pull/429) [#433](https://github.com/wata727/tflint/pull/433): build: Upgrade to go 1.13 ([@chenrui333](https://github.com/chenrui333)) 76 - [#431](https://github.com/wata727/tflint/pull/431): build: Disable CGO in GoReleaser ([@craigfurman](https://github.com/craigfurman)) 77 78 ## 0.11.0 (2019-09-08) 79 80 This release includes major changes to the output format. In particular, third-party tool developers should be aware of changes to the JSON output format. Please see the "Breaking Changes" section for details. 81 82 ### Breaking Changes 83 84 - [#396](https://github.com/wata727/tflint/pull/396): Emit issues to the root module instead of each module 85 - Previously issues found inside a module were reported along with the line number for that module, but it now reports on root module arguments that caused issues with the module. 86 - [#407](https://github.com/wata727/tflint/pull/407): formatter: Multiple errors and context-rich pretty print 87 - The output format of default and JSON has been changed. See the pull request for details. 88 - [#413](https://github.com/wata727/tflint/pull/413): Remove `--quiet` option 89 - This behavior is the default for new output formats. 90 91 ### Enhancements 92 93 - [#395](https://github.com/wata727/tflint/pull/395): config: Add support for `path.*` named values 94 - [#415](https://github.com/wata727/tflint/pull/415): Add `--no-color` option 95 - [#421](https://github.com/wata727/tflint/pull/421): Add mappings for new resources 96 - 44 rules have been added. 97 - [#424](https://github.com/wata727/tflint/pull/424): TFLint is now compatible with Terraform v0.12.8 98 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.8 99 - [#426](https://github.com/wata727/tflint/pull/426): Bump terraform-provider-aws from v2.25.0 to v2.27.0 100 - `aws_cur_report_definition_invalid_s3_region` rule now allows `ap-east-1` as a valid value. 101 - `aws_instance_invalid_type`, `aws_launch_configuration_invalid_type` and `aws_launch_template_invalid_instance_type` rules now allow `i3en.metal` as a valid value. 102 - `aws_ssm_parameter_invalid_tier` rule now allows `Intelligent-Tiering` as a valid value. 103 - [#423](https://github.com/wata727/tflint/pull/423): client: Add support for role assumption 104 - The `assume_role` block in the `provider` block is now taken into account. 105 106 ### Chores 107 108 - [#410](https://github.com/wata727/tflint/pull/410): Automatically generate API-based rules 109 - [#411](https://github.com/wata727/tflint/pull/411): Add tools task to Makefile and clean up 110 - [#412](https://github.com/wata727/tflint/pull/412): docs: Tweak documentations 111 - [#414](https://github.com/wata727/tflint/pull/414): docs: Fix exit status 112 - [#417](https://github.com/wata727/tflint/pull/417): Refactoring tests 113 - [#419](https://github.com/wata727/tflint/pull/419): Bump github.com/spf13/afero from 1.2.1 to 1.2.2 114 - [#428](https://github.com/wata727/tflint/pull/428): Correct ineffassign ([@gliptak](https://github.com/gliptak)) 115 116 ## 0.10.3 (2019-08-24) 117 118 ### Chores 119 120 - [#406](https://github.com/wata727/tflint/pull/406): Remove GoReleaser before hooks 121 122 ## 0.10.2 (2019-08-24) 123 124 ### Enhancements 125 126 - [#404](https://github.com/wata727/tflint/pull/404): Bump terraform-provider-aws from v2.24.0 to v2.25.0 127 - No changes for rules. 128 - [#405](https://github.com/wata727/tflint/pull/405): Bump terraform from v0.12.6 to v0.12.7 129 - New functions `regex` and `regexall` are available. 130 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.7 131 132 ### BugFixes 133 134 - [#400](https://github.com/wata727/tflint/pull/400): rule: Fix values for excess_capacity_termination_policy. ([@alzabo](https://github.com/alzabo)) 135 136 ### Chores 137 138 - [#394](https://github.com/wata727/tflint/pull/394): Remove image task from Makefile 139 - [#397](https://github.com/wata727/tflint/pull/397): Bump github.com/hashicorp/terraform from 0.12.6 to 0.12.7 in /tools 140 - [#399](https://github.com/wata727/tflint/pull/399): Release via GitHub Actions 141 - [#401](https://github.com/wata727/tflint/pull/401): Manually maintain updated SDK-based validation rules 142 143 ## 0.10.1 (2019-08-21) 144 145 ### BugFixes 146 147 - [#393](https://github.com/wata727/tflint/pull/393): Eval provider attributes 148 - There is a bug that returned an error when using a variable in the `provider` block attributes. 149 150 ## 0.10.0 (2019-08-17) 151 152 ### Breaking Changes 153 154 - [#361](https://github.com/wata727/tflint/pull/361): Get an AWS session in the same way as Terraform 155 - It will take a region and access keys in the `provider` block written in configuration files into account. 156 - Added support for ECS/CodeBuild task roles and EC2 roles. 157 - There are breaking changes to credential priorities. It affects under the following cases: 158 - If you have a region or access keys in the `provider` block, it prefers them over environment variables and shared credentials. 159 - If there are environment variables and shared credentials, it prefers the environment variables. Previously, it prefers shared credentials. 160 161 ### Changes 162 163 - [#378](https://github.com/wata727/tflint/pull/378): Remove aws_instance_default_standard_volume rule 164 - [#379](https://github.com/wata727/tflint/pull/379): Remove aws_db_instance_readable_password rule 165 166 ### Enhancements 167 168 - [#384](https://github.com/wata727/tflint/pull/384): Add terraform_dash_in_resource_name rule ([@kulinacs](https://github.com/kulinacs)) 169 - This rule is disabled by default. 170 - [#388](https://github.com/wata727/tflint/pull/388): Bump terraform-provider-aws from v2.20.0 to v2.24.0 171 - Added `me-south-1` as a valid region in `aws_route53_health_check_invalid_cloudwatch_alarm_region` rule and `aws_route53_zone_association_invalid_vpc_region` rule. 172 - Added `capacityOptimized` as a valid strategy in `aws_spot_fleet_request_invalid_allocation_strategy` rule. 173 174 ### Chores 175 176 - [#387](https://github.com/wata727/tflint/pull/387): Bump github.com/google/go-cmp from 0.3.0 to 0.3.1 177 - [#389](https://github.com/wata727/tflint/pull/389): Add Terraform compatibility badge 178 - [#390](https://github.com/wata727/tflint/pull/390): Remove legacy module walkers 179 180 ## 0.9.3 (2019-08-02) 181 182 ### Enhancements 183 184 - [#375](https://github.com/wata727/tflint/pull/375): Update dependencies to Terraform 0.12.6 ([@lawliet89](https://github.com/lawliet89)) 185 - Resource `for-each` syntax doesn't report an error, but TFLint still ignore `each.*` expressions. 186 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.6 187 - [#377](https://github.com/wata727/tflint/pull/377): Bump terraform-provider-aws from v2.20.0 to v2.22.0 188 - `aws_secretsmanager_secret_invalid_policy` rule now allows up to 20480. 189 - `aws_secretsmanager_secret_version_invalid_secret_string` rule now allows up to 10240. 190 - `aws_ssm_maintenance_window_target_invalid_resource_type` rule now allows `RESOURCE_GROUP` as a valid type. 191 192 ### Chores 193 194 - [#368](https://github.com/wata727/tflint/pull/368): Update brew instructions ([@arbourd](https://github.com/arbourd)) 195 - TFLint's formula is now hosted by `homebrew/core` 🎉 196 - [#373](https://github.com/wata727/tflint/pull/373): Bump github.com/hashicorp/terraform from 0.12.5 to 0.12.6 in /tools 197 198 ## 0.9.2 (2019-07-20) 199 200 ### Enhancements 201 202 - [#360](https://github.com/wata727/tflint/pull/360): Allow settings shared credentials file path 203 - Added `--aws-creds-file` in CLI flags 204 - Added `shared_credentials_file` in config attributes 205 - [#365](https://github.com/wata727/tflint/pull/365): TFLint is now compatible with Terraform v0.12.5 206 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.4 207 - See https://github.com/hashicorp/terraform/releases/tag/v0.12.5 208 - [#367](https://github.com/wata727/tflint/pull/367): TFLint is now compatible with Terraform AWS provider v2.20.0 209 - Updated `aws_cloudwatch_metric_alarm_invalid_comparison_operator` rule 210 211 ## 0.9.1 (2019-07-09) 212 213 ### Enhancements 214 215 - [#348](https://github.com/wata727/tflint/pull/348): Update launch configuration instance types 216 - [#350](https://github.com/wata727/tflint/pull/350): Add terraform_documented_variables/outputs rules 217 - [#356](https://github.com/wata727/tflint/pull/356): Bump terraform-aws-provider from v2.16.0 to v2.18.0 218 219 ### BugFixes 220 221 - [#355](https://github.com/wata727/tflint/pull/355): Fix a false positive for `log-delivery-write` ACL 222 223 ### Chores 224 225 - [#346](https://github.com/wata727/tflint/pull/346): Docs: Limitations -> Compatibility with Terraform 226 - [#347](https://github.com/wata727/tflint/pull/347): Fix rule generator 227 228 ## 0.9.0 (2019-06-29) 229 230 This release includes breaking changes due to the removal of some CLI flags and options. Please see the "Breaking Changes" section for details. 231 232 As a major improvement, added 700+ rules in this release. These rules are automatically generated from aws-sdk validations and can be used without deep checking. For example, you can check whether a resource name matches the regular expression, whether it satisfies length constraints, whether it is included in the list of valid values, etc. before running `terraform plan` or `terraform apply`. 233 234 ### Breaking Changes 235 236 - [#310](https://github.com/wata727/tflint/pull/310): Remove `--fast` option 237 - It disables only `aws_instance_invalid_ami` when passed this flag. But the rule is already faster in v0.8.2. Therefore, this flag is not necessary. 238 - [#311](https://github.com/wata727/tflint/pull/311): Remove terraform_version option 239 - `terraform_version` option is no longer used. 240 - [#313](https://github.com/wata727/tflint/pull/313): Make non-zero exit status default if issues found 241 - Previously, it has return 0 as exit status even if an issue was found, but now it will return 2. 242 - If you would like to keep the previous behavior, you can use `--force` option. 243 - [#329](https://github.com/wata727/tflint/pull/329): Disable module inspection by default 244 - You no longer need to run `terraform init` just to run` tflint`. 245 - If you also want to check module calls, pass the `--module` option. In that case, you need to run `terraform init` as before. 246 247 ### Changes 248 249 - [#340](https://github.com/wata727/tflint/pull/340): Replace aws_cloudwatch_metric_alarm_invalid_init with auto-generated 250 - The output message has changed, but there has been no other change. 251 252 ### Enhancements 253 254 - [#274](https://github.com/wata727/tflint/pull/274): Auto generate rules from AWS API models 255 - These rules are based on Terraform AWS provider v2.16.0. 256 - [#332](https://github.com/wata727/tflint/pull/332), [#336](https://github.com/wata727/tflint/pull/336): TFLint is now compatible with Terraform v0.12.3 257 - See also https://github.com/hashicorp/terraform/releases/tag/v0.12.3 258 - [#343](https://github.com/wata727/tflint/pull/343): Update valid instance type list 259 260 ### BugFixes 261 262 - [#341](https://github.com/wata727/tflint/pull/341): Fix false negatives in the S3 invalid ACL rule 263 264 ### Chores 265 266 - [#326](https://github.com/wata727/tflint/pull/326): Set up CI with Azure Pipelines 267 - [#337](https://github.com/wata727/tflint/pull/337): Check mapping attribute types 268 - [#339](https://github.com/wata727/tflint/pull/339): Remove appveyor.yml 269 - [#338](https://github.com/wata727/tflint/pull/338): Mappings are checked based on Terraform v0.12.3 schema 270 - [#345](https://github.com/wata727/tflint/pull/345): Revise documentations 271 272 ## 0.8.3 (2019-06-09) 273 274 ### Enhancements 275 276 - [#318](https://github.com/wata727/tflint/pull/318): Added 3 checks for AWS Launch Configuration. ([@krzyzakp](https://github.com/krzyzakp)) 277 - `aws_launch_configuration_invalid_iam_profile` 278 - `aws_launch_configuration_invalid_image_id` 279 - `aws_launch_configuration_invalid_type` 280 - [#321](https://github.com/wata727/tflint/pull/321): Add `--var` options. 281 - [#322](https://github.com/wata727/tflint/pull/322): Add new rule: aws_s3_bucket_invalid_acl. ([@ineffyble](https://github.com/ineffyble)) 282 - [#324](https://github.com/wata727/tflint/pull/324): TFLint is now compatible with Terraform v0.12.1. 283 - See also https://github.com/hashicorp/terraform/releases/tag/v0.12.1 284 285 ### BugFixes 286 287 - [#320](https://github.com/wata727/tflint/pull/320): Avoid InvalidAMIID errors. 288 289 ### Others 290 291 - [#319](https://github.com/wata727/tflint/pull/319): Added pre-commit hooks. ([@krzyzakp](https://github.com/krzyzakp)) 292 - [#323](https://github.com/wata727/tflint/pull/323): Bump github.com/aws/aws-sdk-go from 1.19.41 to 1.19.46 293 294 ## 0.8.2 (2019-06-03) 295 296 ### Enhancements 297 298 - [#308](https://github.com/wata727/tflint/pull/308): Make aws_instance_invalid_ami rule faster. 299 - The `--fast` option to disable this rule will be removed in v0.9. 300 - [#309](https://github.com/wata727/tflint/pull/309): Accept a directory as an argument. 301 302 ### Others 303 304 - [#298](https://github.com/wata727/tflint/pull/298): Revise docker image. 305 - [#300](https://github.com/wata727/tflint/pull/300): Bump github.com/mattn/go-colorable from 0.1.1 to 0.1.2. 306 - [#301](https://github.com/wata727/tflint/pull/301): Bump github.com/mitchellh/go-homedir from 1.0.0 to 1.1.0. 307 - [#302](https://github.com/wata727/tflint/pull/302): Bump github.com/aws/aws-sdk-go from 1.19.18 to 1.19.41. 308 - [#303](https://github.com/wata727/tflint/pull/303): Bump github.com/k0kubun/pp from 2.3.0+incompatible to 2.4.0+incompatible. 309 - [#304](https://github.com/wata727/tflint/pull/304): Bump github.com/hashicorp/go-version from 1.1.0 to 1.2.0. 310 - [#305](https://github.com/wata727/tflint/pull/305): Bump github.com/golang/mock from 1.2.0 to 1.3.1. 311 - [#306](https://github.com/wata727/tflint/pull/306): Bump github.com/google/go-cmp from 0.2.0 to 0.3.0. 312 - [#307](https://github.com/wata727/tflint/pull/307): Remove mock package. 313 314 ## 0.8.1 (2019-05-30) 315 316 ### Enhancements 317 318 - [#277](https://github.com/wata727/tflint/pull/277): Ignore annotation support. 319 - `tflint-ignore: rule_name` annotation is now availble. See [README.md](https://github.com/wata727/tflint/blob/v0.8.1/README.md#rules). 320 321 ### BugFixes 322 323 - [#293](https://github.com/wata727/tflint/pull/293): Fix false negatives when `aws_instance_default_standard_volume` rule checks `dynamic` blocks. 324 - [#297](https://github.com/wata727/tflint/pull/297): Fix panic when checking whether an expression is null. 325 326 ### Others 327 328 - [#292](https://github.com/wata727/tflint/pull/292): Migrating to Go Modules. 329 330 ## 0.8.0 (2019-05-25) 331 332 This release includes major changes due to being dependent on Terraform v0.12 internal API. While we try to keep backward compatibility as much as possible, it does include some breaking changes. 333 334 We strongly recommend [upgrading to Terraform v0.12](https://www.terraform.io/upgrade-guides/0-12.html) before trying TFLint v0.8. `terraform 0.12upgrade` is helpful to upgrade your configuration files. 335 336 ### Breaking Changes 337 338 - Always return an error when failed to evaluate an expression. 339 - Until now, except for module arguments, even if an error occurred, it was ignored. 340 - Expressions including unsupported named values (such as `${module.foo}`) are not evaluated, so no error occurs. 341 - Drop support for `${terraform.env}`. 342 - Previously `${terraform.env}` was a valid expression that returned the same as `${terraform.workspace}`. 343 - This is because Terraform v0.12 doesn't support `${terraform.env}`. 344 - The file name of a module includes module ID instead of the source attribute. 345 - Up to now it was output like `github.com/wata727/example-module/instance.tf`, but it will be changed like `module_id/instance.tf`. 346 - Always parse all configuration files under the current directory. 347 - When passing a file name as an argument, TFLint only parsed that file so far, but it now parses all configuration files under the current directory. 348 - Also, file arguments are only used to filter the issues obtained. Therefore, you cannot pass files other than under the current directory. 349 - As a known issue, If file arguments are passed, module's issues are not reported. This will be improved by changing handling of module's issues in the future. 350 - These behaviors have been changed as it depends on Terraform's `configload` package. 351 - In addition, modules are always loaded regardless of `ignore_module`. 352 - Raise an error when using invalid syntax as a Terraform configuration. 353 - For example, it didn't raise an error when using `resources`(not `resource`) block because it is valid as HCL syntax in previous versions. 354 - Remove `--debug` option. 355 - Please use `TFLINT_LOG` environment variables instead. 356 - Raise an error when a file passed by `--config` does not exist. 357 - Previously the error was ignored and the default config was referenced. 358 - Remove duplicate resource rules. 359 - This is due to technical difficulty and user experience. 360 361 ### Enhancements 362 363 - HCL2 support 364 - See also https://www.hashicorp.com/blog/terraform-0-1-2-preview 365 - Built-in Functions support 366 - Until now, if an expression includes function calls, it was ignored. 367 - `TF_DATA_DIR` and `TF_WORKSPACE` environment variables are now available. 368 - Until now, these variables are ignored. 369 - It is now possible to handle values doesn't have a default without raising errors. 370 - In the past, an error occurred when there was a reference to a variable that had no default value in an attribute of a module. See [#205](https://github.com/wata727/tflint/issues/205) 371 - Terraform v0.11 module support 372 - Until now, it is failed to properly load a part of Terraform v0.11 module. See also [#167](https://github.com/wata727/tflint/issues/167) 373 - Support for automatic loading `*.auto.tfvars` files. 374 - Previously it was not loaded automatically. 375 376 ### BugFixes 377 378 - Improve expression checks 379 - Since it used to be checked by a regular expression, there were many bugs, but it was greatly improved by using the `terraform/lang` package. See [#204](https://github.com/wata727/tflint/issues/204) [#160](https://github.com/wata727/tflint/issues/160) 380 - Stop overwriting the config under the current directory by the config under the homedir. 381 - Fixed the problem that overwrites the config under the current directory by homedir config. 382 - Improve to check for `aws_db_instance_readable_password`. 383 - Previously, false positive occurred when setting values files or environment variables, but this problem has been fixed. 384 - Make `transit_gateway_id` as a valid target on `aws_route_specified_multiple_targets` 385 386 ### Project Changes 387 388 - Change license: MIT -> MPL 2.0 389 - See [#245](https://github.com/wata727/tflint/pull/245) 390 - Update documentations 391 - See [#272](https://github.com/wata727/tflint/pull/272) 392 393 ## 0.7.6 (2019-05-17) 394 395 ### BugFixes 396 397 - [#276](https://github.com/wata727/tflint/pull/276): Update aws_route_not_specified_target to handle transit_gateway_id. ([@davewongillies](https://github.com/davewongillies)) 398 399 ## 0.7.5 (2019-04-03) 400 401 ### Enhancements 402 403 - Update RDS DB size list ([#269](https://github.com/wata727/tflint/pull/269)) 404 - Add M5 and R5 families to ElastiCache ([#270](https://github.com/wata727/tflint/pull/270)) 405 406 ### Others 407 408 - Add go report card ([#261](https://github.com/wata727/tflint/pull/261)) 409 - automate the installation of tflint on linux ([#267](https://github.com/wata727/tflint/pull/267)) 410 411 ## 0.7.4 (2019-02-09) 412 413 ### Enhancements 414 415 - Add support for db.m5 series db types ([#258](https://github.com/wata727/tflint/pull/258)) 416 417 ## 0.7.3 (2018-12-28) 418 419 ### Enhancements 420 421 - Update ec2-instances-info dependency ([#257](https://github.com/wata727/tflint/pull/257)) 422 423 ### Others 424 425 - Add "features" word to docs for people explicitly looking ([#237](https://github.com/wata727/tflint/pull/237)) 426 427 ## 0.7.2 (2018-08-26) 428 429 ### Enhancements 430 431 - Update valid instance list ([#226](https://github.com/wata727/tflint/pull/226)) 432 433 ## 0.7.1 (2018-07-19) 434 435 ### Bugfix 436 437 - Add missing db instances as valid types ([#214](https://github.com/wata727/tflint/pull/214)) 438 - Update valid instance types ([#215](https://github.com/wata727/tflint/pull/215)) 439 440 ### Others 441 442 - Migrate to dep from Glide ([#208](https://github.com/wata727/tflint/pull/208)) 443 - Add `rule` section in README ([#213](https://github.com/wata727/tflint/pull/213)) 444 445 ## 0.7.0 (2018-06-04) 446 447 ### Enhancements 448 449 - Add new `rule` configuration syntax ([#197](https://github.com/wata727/tflint/pull/197)) 450 451 ### Others 452 453 - Recommend `rule` syntax instead of `ignore_rules` in README ([#200](https://github.com/wata727/tflint/pull/200)) 454 455 ## 0.6.0 (2018-05-18) 456 457 ### Enhancements 458 459 - Support terraform.workspace variable ([#181](https://github.com/wata727/tflint/pull/181)) 460 - Accept glob and multiple input ([#183](https://github.com/wata727/tflint/pull/183)) 461 - Fallback to config under the home directory ([#186](https://github.com/wata727/tflint/pull/186)) 462 - Add new --quiet option ([#190](https://github.com/wata727/tflint/pull/190)) 463 464 ### Changes 465 466 - Remove aws_instance_not_specified_iam_profile ([#180](https://github.com/wata727/tflint/pull/180)) 467 468 ### Bugfix 469 470 - Handle color for Windows ([#184](https://github.com/wata727/tflint/pull/184)) 471 - Fix interpolation checking ([#189](https://github.com/wata727/tflint/pull/189)) 472 - Detect pinned sources using regular expressions ([#194](https://github.com/wata727/tflint/pull/194)) 473 474 ### Others 475 476 - AppVeyor :rocket: ([#185](https://github.com/wata727/tflint/pull/185)) 477 - Add note for installation ([#196](https://github.com/wata727/tflint/pull/196)) 478 479 ## 0.5.4 (2018-01-07) 480 481 ### Bugfix 482 483 - Handle empty config file ([#166](https://github.com/wata727/tflint/pull/166)) 484 485 ## 0.5.3 (2017-12-09) 486 487 ### Enhancements 488 489 - Support module path for v0.11.0 ([#161](https://github.com/wata727/tflint/pull/161)) 490 - Ignore module initialization when settings `ignore_module` ([#163](https://github.com/wata727/tflint/pull/163)) 491 492 ## 0.5.2 (2017-11-12) 493 494 ### Enhancements 495 496 - Use `cristim/ec2-instances-info` instead of hard-coded list ([#159](https://github.com/wata727/tflint/pull/159)) 497 498 ### BugFix 499 500 - Use `strings.Trim` instead of `strings.Replace` ([#158](https://github.com/wata727/tflint/pull/158)) 501 502 ### Others 503 504 - Set Docker container default workdir to /data ([#152](https://github.com/wata727/tflint/pull/152)) 505 - Add ca-certificates to Docker image for TLS requests to AWS ([#155](https://github.com/wata727/tflint/pull/155)) 506 507 ## 0.5.1 (2017-10-18) 508 509 Re-release due to [#151](https://github.com/wata727/tflint/issues/151) 510 There is no change in the code from v0.5.0 511 512 ## 0.5.0 (2017-10-14) 513 514 Minor version update. This release includes environment variable support. 515 516 ### Enhancements 517 518 - Support variables from environment variables ([#147](https://github.com/wata727/tflint/pull/147)) 519 - Support moudle path for v0.10.7 ([#149](https://github.com/wata727/tflint/pull/149)) 520 521 ### Others 522 523 - Add Makefile target for creating docker image ([#145](https://github.com/wata727/tflint/pull/145)) 524 - Update Go version ([#146](https://github.com/wata727/tflint/pull/146)) 525 526 ## 0.4.3 (2017-09-30) 527 528 Patch version update. This release includes Terraform v0.10.6 supports. 529 530 ### Enhancements 531 532 - Add G3 instances support ([#139](https://github.com/wata727/tflint/pull/139)) 533 - Support new digest module path ([#144](https://github.com/wata727/tflint/pull/144)) 534 535 ### Others 536 537 - Fix unclear error messages ([#137](https://github.com/wata727/tflint/pull/137)) 538 539 ## 0.4.2 (2017-08-03) 540 541 Patch version update. This release includes a hotfix. 542 543 ### BugFix 544 545 - Fix panic for integer variables interpolation ([#131](https://github.com/wata727/tflint/pull/131)) 546 547 ## 0.4.1 (2017-07-29) 548 549 Patch version update. This release includes terraform meta information interpolation syntax support. 550 551 ### NewDetectors 552 553 - Add AwsECSClusterDuplicateNameDetector ([#128](https://github.com/wata727/tflint/pull/128)) 554 555 ### Enhancements 556 557 - Support "${terraform.env}" syntax ([#126](https://github.com/wata727/tflint/pull/126)) 558 - Environment state handling ([#127](https://github.com/wata727/tflint/pull/127)) 559 560 ### Others 561 562 - Update deps ([#130](https://github.com/wata727/tflint/pull/130)) 563 564 ## 0.4.0 (2017-07-09) 565 566 Minor version update. This release includes big core API changes. 567 568 ### Enhancements 569 570 - Overrides module ([#118](https://github.com/wata727/tflint/pull/118)) 571 - Add document link and detector name on output ([#122](https://github.com/wata727/tflint/pull/122)) 572 - Add Terraform version options ([#123](https://github.com/wata727/tflint/pull/123)) 573 - Report `aws_instance_not_specified_iam_profile` only when `terraform_version` is less than 0.8.8 ([#124](https://github.com/wata727/tflint/pull/124)) 574 575 ### Others 576 577 - Provide abstract HCL access ([#112](https://github.com/wata727/tflint/pull/112)) 578 - Fix override logic ([#117](https://github.com/wata727/tflint/pull/117)) 579 - Fix some output messages and documentation ([#125](https://github.com/wata727/tflint/pull/125)) 580 581 ## 0.3.6 (2017-06-05) 582 583 Patch version update. This release includes hotfix for module evaluation. 584 585 ### BugFix 586 587 - DO NOT USE Evaluator :bow: ([#114](https://github.com/wata727/tflint/pull/114)) 588 589 ### Others 590 591 - Add HCL syntax highlighting in README ([#110](https://github.com/wata727/tflint/pull/110)) 592 - Update README.md ([#111](https://github.com/wata727/tflint/pull/111)) 593 594 ## 0.3.5 (2017-04-23) 595 596 Patch version update. This release includes new detectors and bugfix for module. 597 598 ### NewDetectors 599 600 - Module source pinned ref check ([#100](https://github.com/wata727/tflint/pull/100)) 601 - Add AwsCloudWatchMetricAlarmInvalidUnitDetector ([#108](https://github.com/wata727/tflint/pull/108)) 602 603 ### Enhancements 604 605 - Support F1 instances ([#107](https://github.com/wata727/tflint/pull/107)) 606 607 ### BugFix 608 609 - Interpolate module attributes ([#105](https://github.com/wata727/tflint/pull/105)) 610 611 ### Others 612 613 - Improve CLI ([#102](https://github.com/wata727/tflint/pull/102)) 614 - Add integration test ([#106](https://github.com/wata727/tflint/pull/106)) 615 616 ## 0.3.4 (2017-04-10) 617 618 Patch version update. This release includes new detectors for `aws_route` 619 620 ### NewDetectors 621 622 - Add AwsRouteInvalidRouteTableDetector ([#90](https://github.com/wata727/tflint/pull/90)) 623 - Add AwsRouteNotSpecifiedTargetDetector ([#91](https://github.com/wata727/tflint/pull/91)) 624 - Add AwsRouteSpecifiedMultipleTargetsDetector ([#92](https://github.com/wata727/tflint/pull/92)) 625 - Add AwsRouteInvalidGatewayDetector ([#93](https://github.com/wata727/tflint/pull/93)) 626 - Add AwsRouteInvalidEgressOnlyGatewayDetector ([#94](https://github.com/wata727/tflint/pull/94)) 627 - Add AwsRouteInvalidNatGatewayDetector ([#95](https://github.com/wata727/tflint/pull/95)) 628 - Add AwsRouteInvalidVpcPeeringConnectionDetector ([#96](https://github.com/wata727/tflint/pull/96)) 629 - Add AwsRouteInvalidInstanceDetector ([#97](https://github.com/wata727/tflint/pull/97)) 630 - Add AwsRouteInvalidNetworkInterfaceDetector ([#98](https://github.com/wata727/tflint/pull/98)) 631 632 ### BugFix 633 634 - Fix panic when security groups are on EC2-Classic ([#89](https://github.com/wata727/tflint/pull/89)) 635 636 ### Others 637 638 - Transfer from hakamadare/tflint to wata727/tflint ([#84](https://github.com/wata727/tflint/pull/84)) 639 640 ## 0.3.3 (2017-04-02) 641 642 Patch version update. This release includes support for shared credentials. 643 644 ### Enhancements 645 646 - Support shared credentials ([#79](https://github.com/wata727/tflint/pull/79)) 647 - Add checkstyle format ([#82](https://github.com/wata727/tflint/pull/82)) 648 649 ### Others 650 651 - Add NOTE to aws_instance_not_specified_iam_profile ([#81](https://github.com/wata727/tflint/pull/81)) 652 - Refactoring for default printer ([#83](https://github.com/wata727/tflint/pull/83)) 653 654 ## 0.3.2 (2017-03-25) 655 656 Patch version update. This release includes hotfix. 657 658 ### BugFix 659 660 - Fix panic when parsing empty list ([#78](https://github.com/wata727/tflint/pull/78)) 661 662 ### Others 663 664 - Fix unstable test ([#74](https://github.com/wata727/tflint/pull/74)) 665 - Update README to reference Homebrew tap ([#75](https://github.com/wata727/tflint/pull/75)) 666 667 ## 0.3.1 (2017-03-12) 668 669 Patch version update. This release includes support for tfvars. 670 671 ### Enhancements 672 673 - Support I3 instance types ([#66](https://github.com/wata727/tflint/pull/66)) 674 - Support TFVars ([#67](https://github.com/wata727/tflint/pull/67)) 675 676 ### Others 677 678 - Add Dockerfile ([#59](https://github.com/wata727/tflint/pull/59)) 679 - Fix link ([#60](https://github.com/wata727/tflint/pull/60)) 680 - Update help message ([#61](https://github.com/wata727/tflint/pull/61)) 681 - Move cache from detector to awsclient ([#62](https://github.com/wata727/tflint/pull/62)) 682 - Refactoring detector ([#65](https://github.com/wata727/tflint/pull/65)) 683 - glide up ([#68](https://github.com/wata727/tflint/pull/68)) 684 - Update go version ([#69](https://github.com/wata727/tflint/pull/69)) 685 686 ## 0.3.0 (2017-02-12) 687 688 Minor version update. This release includes core enhancements for terraform state file. 689 690 ### NewDetectors 691 692 - Add RDS readable password detector ([#46](https://github.com/wata727/tflint/pull/46)) 693 - Add duplicate security group name detector ([#49](https://github.com/wata727/tflint/pull/49)) 694 - Add duplicate ALB name detector ([#52](https://github.com/wata727/tflint/pull/52)) 695 - Add duplicate ELB name detector ([#54](https://github.com/wata727/tflint/pull/54)) 696 - Add duplicate DB Instance Identifier Detector ([#55](https://github.com/wata727/tflint/pull/55)) 697 - Add duplicate ElastiCache Cluster ID detector ([#56](https://github.com/wata727/tflint/pull/56)) 698 699 ### Enhancements 700 701 - Interpret TFState ([#48](https://github.com/wata727/tflint/pull/48)) 702 - Add --fast option ([#58](https://github.com/wata727/tflint/pull/58)) 703 704 ### BugFix 705 706 - r4.xlarge is valid type ([#43](https://github.com/wata727/tflint/pull/43)) 707 708 ### Others 709 710 - Add sideci.yml ([#42](https://github.com/wata727/tflint/pull/42)) 711 - Update README ([#50](https://github.com/wata727/tflint/pull/50)) 712 - SideCI Settings ([#57](https://github.com/wata727/tflint/pull/57)) 713 714 ## 0.2.1 (2017-01-10) 715 716 Patch version update. This release includes new argument options. 717 718 ### NewDetectors 719 720 - add db instance invalid type detector ([#32](https://github.com/wata727/tflint/pull/32)) 721 - add rds previous type detector ([#33](https://github.com/wata727/tflint/pull/33)) 722 - add invalid type detector for elasticache ([#34](https://github.com/wata727/tflint/pull/34)) 723 - add previous type detector for elasticache ([#35](https://github.com/wata727/tflint/pull/35)) 724 725 ### Enhancements 726 727 - Return error code when issue exists ([#31](https://github.com/wata727/tflint/pull/31)) 728 729 ### Others 730 731 - fix install version ([#30](https://github.com/wata727/tflint/pull/30)) 732 - CLI Test By Interface ([#36](https://github.com/wata727/tflint/pull/36)) 733 - Fix --error-with-issues description ([#37](https://github.com/wata727/tflint/pull/37)) 734 - glide up ([#38](https://github.com/wata727/tflint/pull/38)) 735 736 ## 0.2.0 (2016-12-24) 737 738 Minor version update. This release includes enhancements and several fixes 739 740 ### New Detectors 741 742 - add AWS Instance Invalid AMI deep detector ([#7](https://github.com/wata727/tflint/pull/7)) 743 - add invalid key name deep detector ([#11](https://github.com/wata727/tflint/pull/11)) 744 - add invalid subnet deep detector ([#12](https://github.com/wata727/tflint/pull/12)) 745 - add invalid vpc security group deep detector ([#13](https://github.com/wata727/tflint/pull/13)) 746 - add invalid security group detector for ELB ([#16](https://github.com/wata727/tflint/pull/16)) 747 - add invalid subnet detector for ELB ([#17](https://github.com/wata727/tflint/pull/17)) 748 - add invalid instance detector for ELB ([#18](https://github.com/wata727/tflint/pull/18)) 749 - add invalid security group detector for ALB ([#20](https://github.com/wata727/tflint/pull/20)) 750 - add invalid subnet detector for ALB ([#21](https://github.com/wata727/tflint/pull/21)) 751 - add invalid security group detector for RDS ([#22](https://github.com/wata727/tflint/pull/22)) 752 - add invalid DB subnet group detector for RDS ([#23](https://github.com/wata727/tflint/pull/23)) 753 - add invalid parameter group detector for RDS ([#24](https://github.com/wata727/tflint/pull/24)) 754 - add invalid option group detector for RDS ([#25](https://github.com/wata727/tflint/pull/25)) 755 - add invalid parameter group detector for ElastiCache ([#27](https://github.com/wata727/tflint/pull/27)) 756 - add invalid subnet group detector for ElastiCache ([#28](https://github.com/wata727/tflint/pull/28)) 757 - add invalid security group detector for ElastiCache ([#29](https://github.com/wata727/tflint/pull/29)) 758 759 ### Enhancements 760 761 - Support t2 and r4 types ([#5](https://github.com/wata727/tflint/pull/5)) 762 - Improve ineffecient module detector method ([#10](https://github.com/wata727/tflint/pull/10)) 763 - do not call API when target resources are not found ([#15](https://github.com/wata727/tflint/pull/15)) 764 - support list type variables evaluation ([#19](https://github.com/wata727/tflint/pull/19)) 765 766 ### Bug Fixes 767 768 - Fix panic deep detecting with module ([#8](https://github.com/wata727/tflint/pull/8)) 769 770 ### Others 771 772 - Fix `Fatalf` format in test ([#3](https://github.com/wata727/tflint/pull/3)) 773 - Remove Zero width space in README.md ([#4](https://github.com/wata727/tflint/pull/4)) 774 - Fix typos ([#6](https://github.com/wata727/tflint/pull/6)) 775 - documentation ([#26](https://github.com/wata727/tflint/pull/26)) 776 777 ## 0.1.0 (2016-11-27) 778 779 Initial release 780 781 ### Added 782 783 - Add Fundamental features 784 785 ### Deprecated 786 787 - Nothing 788 789 ### Removed 790 791 - Nothing 792 793 ### Fixed 794 795 - Nothing