Skip to content

feat: allow custom PostgreSQL port configuration#50

Open
guidev wants to merge 1 commit into
langfuse:mainfrom
guidev:feat/postgres-custom-port
Open

feat: allow custom PostgreSQL port configuration#50
guidev wants to merge 1 commit into
langfuse:mainfrom
guidev:feat/postgres-custom-port

Conversation

@guidev
Copy link
Copy Markdown
Contributor

@guidev guidev commented Mar 3, 2026

Summary

  • Adds a postgres_port variable (default 5432) to allow overriding the PostgreSQL port
  • Uses the variable in the security group ingress rules and RDS cluster resource
  • References the cluster port dynamically in helm values instead of hardcoding 5432

Useful for security hardening by running the database on a non-standard port.

Test plan

  • terraform plan with default port (5432) — no changes expected
  • terraform plan with custom port — verify SG rules, RDS cluster port, and helm values reflect the new port

🤖 Generated with Claude Code

Add `postgres_port` variable to allow overriding the default PostgreSQL
port (5432). Useful for security hardening by running the database on a
non-standard port.

Changes:
- Add `postgres_port` variable with default 5432
- Use variable in security group ingress rules
- Set port on the RDS cluster resource
- Reference cluster port in helm values instead of hardcoding

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 3, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants