-
-
Notifications
You must be signed in to change notification settings - Fork 5
feat(terraform): add database_insights_mode variable
#68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upgrade rds-cluster module to v2.3.0 and introduce the
database_insights_mode variable to support configuring RDS cluster
insights mode. Adds validation for allowed values ("standard",
"advanced") and updates module usage accordingly.
WalkthroughBumps the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/cluster-regional.tf(2 hunks)src/variables.tf(1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
src/@(main|variables|outputs|providers|versions|context).tf
📄 CodeRabbit inference engine (AGENTS.md)
Keep the Terraform component source of truth under src/ with canonical files: main.tf, variables.tf, outputs.tf, providers.tf, versions.tf, context.tf
Files:
src/variables.tf
src/**/*.tf
📄 CodeRabbit inference engine (AGENTS.md)
src/**/*.tf: Terraform code must be formatted (terraform fmt -recursive) and free of lint violations (TFLint rules)
Use lower_snake_case for Terraform variables and locals; keep resource and data source names descriptive and aligned with Cloud Posse null-label patterns
Use 2-space indentation for Terraform files
Files:
src/variables.tfsrc/cluster-regional.tf
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Summary
🔇 Additional comments (2)
src/cluster-regional.tf (2)
8-8: Module version upgrade is appropriate.The version bump to 2.3.0 correctly enables support for the new
database_insights_modeinput parameter. This is consistent with the changes made to variables.tf.
42-42: Module input pass-through is correct (pending fix in variables.tf).The module input assignment is syntactically sound and properly positioned within the resource configuration. However, ensure the validation issue flagged in
src/variables.tf(lines 202-205) is resolved before deployment, as it will block module instantiation with the default value.
|
/terratest |
|
These changes were released in v1.540.4. |
what
why
This pull request updates the Aurora PostgreSQL cluster module and adds support for configuring the
database_insights_modefor RDS clusters. The main changes introduce a new variable to control the insights mode and update the module version to ensure compatibility.references
Summary by CodeRabbit
Chores
New Features