Skip to content

fix: Remove deprecated Terraform syntax#64

Closed
RoseSecurity wants to merge 1 commit into
mainfrom
fix/tflint-deprecated-syntax
Closed

fix: Remove deprecated Terraform syntax#64
RoseSecurity wants to merge 1 commit into
mainfrom
fix/tflint-deprecated-syntax

Conversation

@RoseSecurity

Copy link
Copy Markdown
Contributor

Why

Deprecated HCL syntax triggers linting warnings and will eventually be removed in future Terraform versions. Cleaning these up improves code quality, maintainability, and ensures forward compatibility.

What

Automated fixes applied via tflint --fix with the following rules enabled:

Rule Description Example
terraform_deprecated_interpolation Remove unnecessary interpolation wrappers "${var.foo}"var.foo
terraform_deprecated_index Replace legacy dot-index syntax list.0list[0]
terraform_deprecated_lookup Replace deprecated lookup() calls lookup(map, key)map[key]

References

Automated fix using tflint --fix to resolve deprecated HCL syntax:

- terraform_deprecated_interpolation: Replace "${var.x}" with var.x
- terraform_deprecated_index: Replace .0 with [0]
- terraform_deprecated_lookup: Replace deprecated lookup() usage
@coderabbitai

coderabbitai Bot commented Mar 11, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@RoseSecurity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 16 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0e60f976-f9ed-4fce-8fbe-4433cfe3e659

📥 Commits

Reviewing files that changed from the base of the PR and between 9dacfb7 and c7e5399.

📒 Files selected for processing (1)
  • src/variables.tf
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/tflint-deprecated-syntax

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mergify mergify Bot requested review from a team March 11, 2026 19:39
@mergify mergify Bot added the triage Needs triage label Mar 11, 2026
@mergify mergify Bot closed this Jun 9, 2026
@mergify

mergify Bot commented Jun 9, 2026

Copy link
Copy Markdown

This pull request was marked as a work in progress and looks abandoned.
Feel free to reopen it if you think it's a mistake.

@mergify mergify Bot removed the triage Needs triage label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant