Skip to content

Introduce a read-only user for data-replication#4551

Closed
TheOneFromNorway wants to merge 7 commits intonextfrom
ro_user_for_data_replication
Closed

Introduce a read-only user for data-replication#4551
TheOneFromNorway wants to merge 7 commits intonextfrom
ro_user_for_data_replication

Conversation

@TheOneFromNorway
Copy link
Copy Markdown
Contributor

@TheOneFromNorway TheOneFromNorway commented Sep 8, 2025

  • User must be created within aws account due to database living in private subnet
  • For simplicity just create user on startup of application if does not already exist
  • Password is managed via terraform and injected into container

JIRA Ticket: MAV-1941

- User must be created within aws account due to database living in
  private subnet
- For simplicity just create user on startup of application if does not
  already exist
- Password is managed via terraform and injected into container
- Security group to handle incoming/outgoing connections to grafana
  - Grafana now has connection to VPC allowing DB access
- To reliably reference data-replication resources new tags have been
  included
- Permissions are generic enough to go into general deploy permission
  set
- Also ensure ECS service can access s3 endpoint
  - Due to NAT gateway an s3 gateway is no longer needed
- Leave password/url as manual steps to fill for now
- Expand out names for clarity in code
- Keep `_ro` suffix as standard indicator for read only permissions on
  db user
@TheOneFromNorway TheOneFromNorway force-pushed the ro_user_for_data_replication branch from 579ae58 to ef49ad3 Compare September 25, 2025 14:15
@sonarqubecloud
Copy link
Copy Markdown

@thomasleese thomasleese added the infrastructure Related to infrastructure changes label Jan 21, 2026
@TheOneFromNorway
Copy link
Copy Markdown
Contributor Author

Closed as this will be implemented after infrastructure code is refactored out into its own repository

@thomasleese thomasleese deleted the ro_user_for_data_replication branch February 23, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Related to infrastructure changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants