feat: fix tflint findings and typos, add support for force_update_version and control_plane_scaling_config#261
feat: fix tflint findings and typos, add support for force_update_version and control_plane_scaling_config#261RoseSecurity wants to merge 2 commits into
force_update_version and control_plane_scaling_config#261Conversation
|
/terratest |
|
Need an answer fast? Review this PR in Change Stack to ask focused questions about the PR or a changed range. 📝 WalkthroughWalkthroughThis PR adds two new input variables to the EKS cluster Terraform module— ChangesControl plane features and maintenance
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@variables.tf`:
- Around line 235-241: Add a validation block to the variable
"control_plane_scaling_config" to enforce allowed values for its "tier"
attribute so invalid tiers fail at plan time; specifically, inside the variable
definition for control_plane_scaling_config add a validation that checks either
the whole object is null or that lookup(var.control_plane_scaling_config,
"tier", "standard") (or equivalent) is one of the allowed strings ("standard",
"tier-xl", "tier-2xl", "tier-4xl", "tier-8xl") and provide a clear error_message
listing those valid options to guide users when they provide an unsupported
tier.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 8e4aa154-88a2-4a52-b578-81e6365d3cdf
📒 Files selected for processing (4)
docs/migration-v3-v4.mdexamples/obsolete-version2/variables.tfmain.tfvariables.tf
force_update_version and control_plane_scaling_config
force_update_version and control_plane_scaling_configforce_update_version and control_plane_scaling_config
what
force_update_versionandcontrol_plane_scaling_configparameterswhy
references