Skip to content

Commit

Permalink
Merge pull request #577 from rust-lang/docs-document-the-rds-database…
Browse files Browse the repository at this point in the history
…s-module

docs: document the `rds-databases` module
  • Loading branch information
MarcoIeni authored Sep 24, 2024
2 parents 9ad0b3d + f174e85 commit ca5e95c
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 ca5e95c

Please sign in to comment.