From d3ddaa31b0a15a648411b9a36fd406d545ecbdaf Mon Sep 17 00:00:00 2001 From: Arthur Campbell <51094020+arfacamble@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:18:47 +0100 Subject: [PATCH] update docs to link to necessary parts of infra docs (#2390) --- docs/monitoring.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/monitoring.md b/docs/monitoring.md index abd1a3dca..ce9e81a37 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -33,7 +33,10 @@ To do this, you will need to “exec” into the container. - AWS access #### Accessing the rails console -In a shell using suitable AWS credentials for the relevant account (e.g. the development, staging, or production account), run `./exec.sh env command` +Prerequisite: +Configure AWS auth following the [documentation in the infra repo](https://github.com/communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure/blob/main/docs/development_setup.md). This also details how to enter a subshell with suitable AWS credentials. + +In a shell using suitable AWS credentials for the relevant account (e.g. the development, staging, or production account), run `./exec.sh env command` E.g. `./exec.sh staging "rails c"` - this will open the rails console on an app container in the staging environment, when authenticated for the staging aws account.