Skip to content

Commit 01f04ef

Browse files
update docs
1 parent 1a8383b commit 01f04ef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

infrastructure/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The Django backend deployment is managed by Zappa. This includes the API Gateway
136136
```bash
137137
zappa deploy staging
138138
```
139-
- **Note**: If the deployment is successful and returns a 5xx error, resolve the issues
139+
- **Note**: If the deployment is successful but returns a `5xx` error, resolve the issues
140140
and use `zappa undeploy staging` & `zappa deploy staging`. The command `zappa update staging` may not work.
141141

142142
Once deployed, use the URL provided by Zappa to test the API.
@@ -207,14 +207,13 @@ Migrate and load data into the new database.
207207

208208
- Ensure all buckets and ECR repositories are empty.
209209

210-
**Note:** Some resources have `prevent_destroy` set to `true`. Please set it to `false` manually.
210+
**Note:** Some resources have `prevent_destroy` set to `true`. Please set it to `false` before destruction.
211211
- To destroy Terraform infrastructure:
212212

213213
```bash
214214
terraform destroy
215215
```
216216

217-
218217
## Helpful Commands
219218

220219
- To view logs for a `staging` deployment run:

0 commit comments

Comments
 (0)