Skip to content

Commit

Permalink
AU: 1 updated - tflint
Browse files Browse the repository at this point in the history
  • Loading branch information
flcdrg committed Jun 19, 2023
1 parent a75a07b commit 19dedc2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 12 deletions.
40 changes: 32 additions & 8 deletions tflint/tflint.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>tflint</id>
<version>0.46.1</version>
<version>0.47.0</version>
<packageSourceUrl>https://github.com/flcdrg/au-packages/tree/master/tflint</packageSourceUrl>
<owners>flcdrg</owners>
<title>TFLint (Terraform linter)</title>
Expand All @@ -24,18 +24,42 @@ TFLint is a framework and each feature is provided by plugins, the key features
- Find possible errors (like invalid instance types) for Major Cloud providers (AWS/Azure/GCP).
- Warn about deprecated syntax, unused declarations.
- Enforce best practices, naming conventions.
</description><releaseNotes><![CDATA[### 0.46.1 (2023-04-22)
</description><releaseNotes><![CDATA[### 0.47.0 (2023-06-18)
#### BugFixes
This release introduces autofix feature. Running `tflint --fix` will automatically fix issues as possible. Note that not all rules support autofix. In order to support autofix, plugins must be built with SDK v0.17+ and implement autofix.
- [#1746](https://github.com/terraform-linters/tflint/pull/1746): sarif: fix incorrect `endLine` ([@tbutler-qontigo](https://github.com/tbutler-qontigo))
The bundled Terraform ruleset has been updated to v0.4.0 with autofix support. In other words, for Terraform rules, you can use autofix as it is. See the [tflint-ruleset-terraform v0.4.0 changelog](https://github.com/terraform-linters/tflint-ruleset-terraform/releases/tag/v0.4.0) for details.
#### Breaking Changes
- [#1749](https://github.com/terraform-linters/tflint/pull/1749): plugin: Drop support for plugin SDK v0.12/v0.13 ([@wata727](https://github.com/wata727))
- Plugins built using SDKs v0.12/v0.13 are no longer supported. If you get "SDK version is incompatible" error, you need to update the plugin to use SDK v0.14+.
- [#1750](https://github.com/terraform-linters/tflint/pull/1750) [#1781](https://github.com/terraform-linters/tflint/pull/1781): Bump tflint-plugin-sdk and bundled terraform plugin
- The SDK has been updated to v0.17.0 and the bundled Terraform plugin to v0.4.0. Terraform ruleset v0.3.0 contains breaking changes. Check the [changelog](https://github.com/terraform-linters/tflint-ruleset-terraform/releases/tag/v0.3.0) for details.
- [#1779](https://github.com/terraform-linters/tflint/pull/1779): cmd: Drop support for CLI arguments ([@wata727](https://github.com/wata727))
- Argument support has been removed based on the deprecation warning added in v0.46. As of v0.47, it returns an error instead of a warning. See https://github.com/terraform-linters/tflint/pull/1687 for details.
#### Enhancements
- [#1751](https://github.com/terraform-linters/tflint/pull/1751): plugin: support GitHub Enterprise Server as plugin source ([@bendrucker](https://github.com/bendrucker))
- [#1755](https://github.com/terraform-linters/tflint/pull/1755): Introduce autofix ([@wata727](https://github.com/wata727))
- [#1773](https://github.com/terraform-linters/tflint/pull/1773): build(deps): Bump github.com/hashicorp/hcl/v2 from 2.16.2 to 2.17.0
- TFLint v0.47 host server return `cty.Value` now supports refinemnet. This is a change that only affects plugin developers. See [HCL v2.17.0 changelog](https://github.com/hashicorp/hcl/releases/tag/v2.17.0) for details.
- [#1780](https://github.com/terraform-linters/tflint/pull/1780): terraform: Add support for Terraform v1.5 ([@wata727](https://github.com/wata727))
- Added support for the `planttimestamp` and `strcontains` functions.
#### Chores
- [#1738](https://github.com/terraform-linters/tflint/pull/1738): build(deps): Bump sigstore/cosign-installer from 3.0.1 to 3.0.2
- [#1739](https://github.com/terraform-linters/tflint/pull/1739): build(deps): Bump golang.org/x/crypto from 0.7.0 to 0.8.0
- [#1741](https://github.com/terraform-linters/tflint/pull/1741): build(deps): Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0
- [#1743](https://github.com/terraform-linters/tflint/pull/1743): build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from 0.16.0 to 0.16.1
- [#1754](https://github.com/terraform-linters/tflint/pull/1754) [#1766](https://github.com/terraform-linters/tflint/pull/1766): build(deps): Bump sigstore/cosign-installer from 3.0.2 to 3.0.5
- [#1759](https://github.com/terraform-linters/tflint/pull/1759): build(deps): Bump google.golang.org/grpc from 1.54.0 to 1.55.0
- [#1762](https://github.com/terraform-linters/tflint/pull/1762): build(deps): Bump alpine from 3.17.3 to 3.18.0
- [#1763](https://github.com/terraform-linters/tflint/pull/1763): build(deps): Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0
- [#1764](https://github.com/terraform-linters/tflint/pull/1764): build(deps): Bump golang.org/x/crypto from 0.8.0 to 0.9.0
- [#1767](https://github.com/terraform-linters/tflint/pull/1767): build(deps): Bump github.com/zclconf/go-cty from 1.13.1 to 1.13.2
- [#1771](https://github.com/terraform-linters/tflint/pull/1771): fix(install_linux): Update unzip arguments ([@alexjurkiewicz](https://github.com/alexjurkiewicz))
- [#1772](https://github.com/terraform-linters/tflint/pull/1772) [#1775](https://github.com/terraform-linters/tflint/pull/1775): build(deps): Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0
- [#1774](https://github.com/terraform-linters/tflint/pull/1774): build(deps): Bump github.com/hashicorp/go-plugin from 1.4.9 to 1.4.10
- [#1776](https://github.com/terraform-linters/tflint/pull/1776): build(deps): Bump golang.org/x/text from 0.9.0 to 0.10.0
]]></releaseNotes>

</metadata>
Expand Down
8 changes: 4 additions & 4 deletions tflint/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ $packageArgs = @{
packageName = 'tflint'

# 32-bit
url = 'https://github.com/terraform-linters/tflint/releases/download/v0.46.1/tflint_windows_386.zip'
checksum = '0b3827c151f49652a04f2a2f4577f8566ac9ca7beca6ac86f85e737069eccbab'
url = 'https://github.com/terraform-linters/tflint/releases/download/v0.47.0/tflint_windows_386.zip'
checksum = '470ed46a9dcf8f0a7f001de790f191474b47c9229dafd8dff3531cbdb1a4460f'
checksumType = 'sha256'

# 64-bit
url64bit = 'https://github.com/terraform-linters/tflint/releases/download/v0.46.1/tflint_windows_amd64.zip'
checksum64 = 'f68b982dfc2f860ca0aed1efaf6b82e90e1222a78ca16692241937f2e8191327'
url64bit = 'https://github.com/terraform-linters/tflint/releases/download/v0.47.0/tflint_windows_amd64.zip'
checksum64 = '8d3b451bca731760aa790735f70d399080242bbd27c666248a113168c3bdb602'
checksumType64 = $checksumType

# misc
Expand Down

0 comments on commit 19dedc2

Please sign in to comment.