Skip to content

Add gif-clipper database firewall access#183

Merged
grovecj merged 2 commits intomainfrom
add-gif-clipper-db-access
Feb 22, 2026
Merged

Add gif-clipper database firewall access#183
grovecj merged 2 commits intomainfrom
add-gif-clipper-db-access

Conversation

@grovecj
Copy link
Owner

@grovecj grovecj commented Feb 22, 2026

Summary

  • Centralize database firewall management in mlb-stats since it owns the shared PostgreSQL cluster
  • Add optional gif_clipper_app_id variable to grant gif-clipper app database access
  • Uses a dynamic rule block so the firewall rule is only added when the variable is set

Usage

After deploying the gif-clipper app, set gif_clipper_app_id in terraform.tfvars:

gif_clipper_app_id = "<app-id-from-doctl-apps-list>"

🤖 Generated with Claude Code

grovecj and others added 2 commits February 22, 2026 13:49
Centralize database firewall management here since mlb-stats owns the
shared PostgreSQL cluster. Add optional gif_clipper_app_id variable
to grant the gif-clipper app database access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolve conflict by adopting the generic additional_trusted_sources
variable from main instead of the gif-clipper-specific variable.
Update example tfvars with usage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@grovecj grovecj merged commit e004159 into main Feb 22, 2026
5 checks passed
@grovecj grovecj deleted the add-gif-clipper-db-access branch February 22, 2026 20:50
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