🚀 Enhancements
fix: handle empty string in kube_exec_auth_role_arn @milldr (#54)
## What Fix handling of empty string for `kube_exec_auth_role_arn` variable.Why
coalesce() only skips null values, not empty strings. When kube_exec_auth_role_arn is set to an empty string and kube_exec_auth_role_arn_enabled is false, the evaluation still fails.
The fix:
- Checks if
var.kube_exec_auth_role_arnis non-empty and uses it if so - Otherwise, tries
module.iam_roles.terraform_role_arn(safely returns "" if missing) - If
kube_exec_auth_role_arn_enabled: false, the role ARN won't be used, and the evaluation no longer fails
References
- Context from customer implementations
Summary by CodeRabbit
- Refactor
- Internal infrastructure code optimization. No changes to user-facing functionality.
✏️ Tip: You can customize this high-level summary in your review settings.
🤖 Automatic Updates
chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.44.0 @[renovate[bot]](https://github.com/apps/renovate) (#52)
This PR contains the following updates:| Package | Type | Update | Change |
|---|---|---|---|
| terraform-linters/tflint-ruleset-aws | plugin | minor | 0.43.0 -> 0.44.0 |
Release Notes
terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)
v0.44.0
What's Changed
Support for Cosign signatures has been removed from this release. The checksums.txt.keyless.sig and checksums.txt.pem will not be included in the release.
These files are not used in normal use cases, so in most cases this will not affect you, but if you are affected, you can use Artifact Attestations instead.
Breaking Changes
- Bump github.com/terraform-linters/tflint-plugin-sdk from 0.22.0 to 0.23.1 by @dependabot[bot] in #966
- Requires TFLint v0.46+
Enhancements
- Update AWS provider/module and generated content by @github-actions[bot] in #954
- Update AWS provider/module and generated content by @github-actions[bot] in #959
- Update Lambda runtime deprecation dates by @Copilot in #969
- Add missing ElastiCache node type: cache.r6gd.large by @Copilot in #971
- Fix typos in AWS RDS DB instance types by @Copilot in #972
- Add missing AWS S3 bucket naming restrictions by @Copilot in #976
Chores
- Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.251.2 to 1.253.0 in the aws-sdk group by @dependabot[bot] in #952
- Bump github.com/hashicorp/terraform-json from 0.26.0 to 0.27.2 by @dependabot[bot] in #953
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #956
- Bump the aws-sdk group with 2 updates by @dependabot[bot] in #957
- Bump github.com/hashicorp/aws-sdk-go-base/v2 from 2.0.0-beta.66 to 2.0.0-beta.67 by @dependabot[bot] in #958
- Bump github.com/aws/aws-sdk-go-v2/service/rds from 1.108.0 to 1.108.2 in the aws-sdk group by @dependabot[bot] in #960
- Bump golang.org/x/net from 0.44.0 to 0.46.0 by @dependabot[bot] in #961
- Bump sigstore/cosign-installer from 3.10.0 to 4.0.0 by @dependabot[bot] in #962
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #963
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #965
- Drop support for Cosign signatures by @wata727 in #968
- Add documentation to AWS MQ engine type validation rules by @Copilot in #974
- Reorder S3 bucket ACL enum values for consistency by @Copilot in #975
New Contributors
Full Changelog: terraform-linters/tflint-ruleset-aws@v0.43.0...v0.44.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#51)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.43.0 @[renovate[bot]](https://github.com/apps/renovate) (#50)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842).This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| terraform-linters/tflint-ruleset-aws | plugin | minor | 0.42.0 -> 0.43.0 |
Release Notes
terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)
v0.43.0
What's Changed
Breaking Changes
Enhancements
- Update AWS provider/module and generated content by @github-actions[bot] in #921
- Update AWS provider/module and generated content by @github-actions[bot] in #948
Chores
- Bump golang.org/x/net from 0.42.0 to 0.43.0 by @dependabot[bot] in #927
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #928
- Bump goreleaser/goreleaser-action from 6.3.0 to 6.4.0 by @dependabot[bot] in #931
- Bump github.com/hashicorp/terraform-json from 0.25.0 to 0.26.0 by @dependabot[bot] in #930
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #929
- Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #932
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #933
- Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #934
- Bump github.com/zclconf/go-cty from 1.16.3 to 1.16.4 by @dependabot[bot] in #935
- dependabot: allow actions writes by @wata727 in #936
- Fix E2E tests to take into account the newly added JSON fields by @wata727 in #944
- Bump actions/attest-build-provenance from 2.4.0 to 3.0.0 by @dependabot[bot] in #937
- Bump github.com/aws/smithy-go from 1.22.5 to 1.23.0 by @dependabot[bot] in #938
- Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #940
- Bump github.com/zclconf/go-cty from 1.16.4 to 1.17.0 by @dependabot[bot] in #942
- Bump github.com/hashicorp/aws-sdk-go-base/v2 from 2.0.0-beta.65 to 2.0.0-beta.66 by @dependabot[bot] in #943
- Bump the aws-sdk group with 7 updates by @dependabot[bot] in #939
- Bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #941
- Bump sigstore/cosign-installer from 3.9.2 to 3.10.0 by @dependabot[bot] in #945
- Bump golang.org/x/net from 0.43.0 to 0.44.0 by @dependabot[bot] in #946
- deps: Bump Go version to 1.25 by @wata727 in #950
Full Changelog: terraform-linters/tflint-ruleset-aws@v0.42.0...v0.43.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.