Skip to content

Commit

Permalink
Merge pull request #248 from Greenstand/upgrade-db
Browse files Browse the repository at this point in the history
docs: readme for db terraform
  • Loading branch information
dadiorchen committed Aug 29, 2024
2 parents 493cb41 + 2adf290 commit 95fc3d2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions database/terraform/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# How to update db

Currently, just prod db postgresql cluster is under the control of terraform.

To update the Digital Ocean managed db:

1. Set up the token to access the DO object storage which is used as the backend for the terraform state.

```bash
source setup_keys.sh
```

2. Run the terraform script to update the db.

```bash
terraform init
terraform plan
terraform apply
```


0 comments on commit 95fc3d2

Please sign in to comment.