Skip to content

Commit

Permalink
chore(deps): update dependency terraform-linters/tflint to v0.51.0 (#299
Browse files Browse the repository at this point in the history
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[terraform-linters/tflint](https://togithub.com/terraform-linters/tflint)
| minor | `v0.50.3` -> `v0.51.0` |

---

### Release Notes

<details>
<summary>terraform-linters/tflint (terraform-linters/tflint)</summary>

###
[`v0.51.0`](https://togithub.com/terraform-linters/tflint/releases/tag/v0.51.0)

[Compare
Source](https://togithub.com/terraform-linters/tflint/compare/v0.50.3...v0.51.0)

#### What's Changed

This release includes many new features including parallelization of
recursion inspection and support for Terraform v1.8.

Also, please be aware that there are important changes regarding
licensing. TFLint has updated the embedded Terraform package to the
latest version for Terraform v1.6+ support. As a result, we will be
affected by [Terraform's license change to BUSL announced by Hashicorp
in August
2023](https://www.hashicorp.com/blog/hashicorp-adopts-business-source-license).

Most of the code in TFLint is still licensed under MPL 2.0, but some
files under the Terraform package are now licensed under BUSL 1.1. This
means that release binaries are bound by both licenses and may be
subject to Hashicorp's BUSL restrictions. If you have concerns about
this change, we recommend reviewing the licensing implications before
updating. Please note that we cannot provide legal advice.

Please refer to the discussion in
[https://github.com/terraform-linters/tflint/discussions/1826](https://togithub.com/terraform-linters/tflint/discussions/1826)
and
[https://github.com/terraform-linters/tflint/issues/1878](https://togithub.com/terraform-linters/tflint/issues/1878)
for details.

##### Enhancements

- config: Add TFLint `required_version` settings by
[@&#8203;wata727](https://togithub.com/wata727) in
[https://github.com/terraform-linters/tflint/pull/2027](https://togithub.com/terraform-linters/tflint/pull/2027)
- The `required_version` attribute can now be set in `.tflint.hcl`. This
is useful for enforcing the version of TFLint that is actually used.
- plugin: Add support for host-specific GitHub tokens by
[@&#8203;wata727](https://togithub.com/wata727) in
[https://github.com/terraform-linters/tflint/pull/2025](https://togithub.com/terraform-linters/tflint/pull/2025)
- Environment variables like `GITHUB_TOKEN_example_com` have been
introduced for GitHub Enterprise Server support.
- Recursive inspection in parallel by
[@&#8203;wata727](https://togithub.com/wata727) in
[https://github.com/terraform-linters/tflint/pull/2021](https://togithub.com/terraform-linters/tflint/pull/2021)
- The `--recursive` inspection now runs in parallel according to the
number of CPU cores by default. The number of parallels can be changed
with `--max-workers`.
- terraform: Add support for Terraform v1.6/v1.7/v1.8 by
[@&#8203;wata727](https://togithub.com/wata727) in
[https://github.com/terraform-linters/tflint/pull/2030](https://togithub.com/terraform-linters/tflint/pull/2030)
- New Terraform features are now supported, including [provider-defined
functions](https://www.hashicorp.com/blog/terraform-1-8-adds-provider-functions-for-aws-google-cloud-and-kubernetes).
Please note that support for provider-defined functions requires the
latest HCL parser, so you may need to update your plugin versions.
- Updated embedded Terraform packages to support Terraform v1.6+. As a
result, TFLint now includes code for Hashicorp's BUSL 1.1.

##### Changes

- Add warnings to --module/--no-module and `module` attribute by
[@&#8203;wata727](https://togithub.com/wata727) in
[https://github.com/terraform-linters/tflint/pull/1951](https://togithub.com/terraform-linters/tflint/pull/1951)
- If you see a warning, use `--call-module-type` instead. The `--module`
is equivalent to `--call-module-type=all` and the `--no-module` is
equivalent to `--call-module-type=none`. This also applies to
`.tflint.hcl`.

##### Chores

- build: use go1.22 by
[@&#8203;chenrui333](https://togithub.com/chenrui333) in
[https://github.com/terraform-linters/tflint/pull/1977](https://togithub.com/terraform-linters/tflint/pull/1977)
- workflows: remove `cache: true` for setup-go (default) by
[@&#8203;chenrui333](https://togithub.com/chenrui333) in
[https://github.com/terraform-linters/tflint/pull/1979](https://togithub.com/terraform-linters/tflint/pull/1979)
- install: enable `pipefail` catch `curl` errors by
[@&#8203;Ry4an](https://togithub.com/Ry4an) in
[https://github.com/terraform-linters/tflint/pull/1978](https://togithub.com/terraform-linters/tflint/pull/1978)
- build(deps): Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/1981](https://togithub.com/terraform-linters/tflint/pull/1981)
- build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/1980](https://togithub.com/terraform-linters/tflint/pull/1980)
- build(deps): Bump google.golang.org/grpc from 1.61.0 to 1.61.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/1987](https://togithub.com/terraform-linters/tflint/pull/1987)
- sarif: add schema to repo by
[@&#8203;bendrucker](https://togithub.com/bendrucker) in
[https://github.com/terraform-linters/tflint/pull/2000](https://togithub.com/terraform-linters/tflint/pull/2000)
- build(deps): Bump google.golang.org/grpc from 1.61.1 to 1.62.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/1992](https://togithub.com/terraform-linters/tflint/pull/1992)
- build(deps): Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/1999](https://togithub.com/terraform-linters/tflint/pull/1999)
- build(deps): Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/1998](https://togithub.com/terraform-linters/tflint/pull/1998)
- build(deps): Bump golang.org/x/crypto from 0.19.0 to 0.21.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2001](https://togithub.com/terraform-linters/tflint/pull/2001)
- build(deps): Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2002](https://togithub.com/terraform-linters/tflint/pull/2002)
- build(deps): Bump google.golang.org/grpc from 1.62.0 to 1.62.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2003](https://togithub.com/terraform-linters/tflint/pull/2003)
- build(deps): Bump github.com/zclconf/go-cty from 1.14.3 to 1.14.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2009](https://togithub.com/terraform-linters/tflint/pull/2009)
- build(deps): Bump github.com/hashicorp/hcl/v2 from 2.20.0 to 2.20.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2012](https://togithub.com/terraform-linters/tflint/pull/2012)
- build(deps): Bump google.golang.org/grpc from 1.62.1 to 1.63.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2014](https://togithub.com/terraform-linters/tflint/pull/2014)
- build(deps): Bump golang.org/x/crypto from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2016](https://togithub.com/terraform-linters/tflint/pull/2016)
- build(deps): Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2015](https://togithub.com/terraform-linters/tflint/pull/2015)
- build(deps): Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2022](https://togithub.com/terraform-linters/tflint/pull/2022)
- build(deps): Bump google.golang.org/grpc from 1.63.0 to 1.63.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2023](https://togithub.com/terraform-linters/tflint/pull/2023)
- build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2024](https://togithub.com/terraform-linters/tflint/pull/2024)
- build(deps): Bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.4
by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2026](https://togithub.com/terraform-linters/tflint/pull/2026)
- build(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2029](https://togithub.com/terraform-linters/tflint/pull/2029)
- Pin Go patch version in go.mod by
[@&#8203;wata727](https://togithub.com/wata727) in
[https://github.com/terraform-linters/tflint/pull/2031](https://togithub.com/terraform-linters/tflint/pull/2031)
- build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from
0.18.0 to 0.20.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2032](https://togithub.com/terraform-linters/tflint/pull/2032)
- build(deps): Bump
github.com/terraform-linters/tflint-ruleset-terraform from 0.5.0 to
0.7.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/terraform-linters/tflint/pull/2033](https://togithub.com/terraform-linters/tflint/pull/2033)

#### New Contributors

- [@&#8203;Ry4an](https://togithub.com/Ry4an) made their first
contribution in
[https://github.com/terraform-linters/tflint/pull/1978](https://togithub.com/terraform-linters/tflint/pull/1978)

**Full Changelog**:
terraform-linters/tflint@v0.50.3...v0.51.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Hapag-Lloyd/terraform-aws-bastion-host-ssm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5Il19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored May 2, 2024
1 parent 9d389f5 commit 688a9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: install tflint
run: |
# renovate: datasource=github-tags depName=terraform-linters/tflint
tflint_version="v0.50.3"
tflint_version="v0.51.0"
curl -o tflint.zip -L https://github.com/terraform-linters/tflint/releases/download/${tflint_version}/tflint_linux_amd64.zip
unzip tflint.zip
Expand Down

0 comments on commit 688a9d7

Please sign in to comment.