Skip to content

Commit

Permalink
docs: document the rds-databases module
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni committed Sep 24, 2024
1 parent 9ad0b3d commit f174e85
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions terraform/rds-databases/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# RDS databases

This module creates a `shared` RDS instance that contains three databases:

- `discord-mods-bot`
- `triagebot`
- `rustc_perf`

You can access the DB instance using [bastion].

To run `terraform` commands, use the following command
to port-forward the bastion host:

```sh
ssh -L localhost:57467:shared.<id>.us-west-1.rds.amazonaws.com:5432 bastion.infra.rust-lang.org
```

You can find the full endpoint (including `<id>`) in the
AWS console.

[bastion]: https://github.com/rust-lang/infra-team/tree/master/service-catalog/bastion

0 comments on commit f174e85

Please sign in to comment.