Skip to content

Commit

Permalink
Adds warning about deployment of cognito pool
Browse files Browse the repository at this point in the history
This adds a nice red warning message to make sure someone does not
deploy the cognito pool when trying to update the stacks. There should
probably be a code check and confirmation in the deployment script to
prevent this from occurring.
  • Loading branch information
neomorphic committed Oct 2, 2023
1 parent a9a8fbb commit e619d42
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions content/docs/administration/aws/deployment.md
Expand Up @@ -122,16 +122,17 @@ Most AWS services allow you to setup restrictions on the number of active instan

## Deploy HortaCloud services

After the setup is complete, deploy the application by running:
If this is the first time the application is deployed you will need to create a user login pool. This must be explicitly specified using '-u' flag [See **Deploy the user login stack** section below]:

```bash
npm run deploy
npm run deploy -- -u
```
> <span style="background:#842029;color:#ea868f;padding:0.3em;"> ⚠️ **The user pool should only be created once.**:</span> including the '-u' flag on a future update or deployment will replace all your users accounts!
First time the application is deployed we also need to create user login pool and this must be explicitly specified using '-u' flag [See **Deploy the user login stack** section below]:
After the setup is complete, subsequent deployments and updates to the application can be done by running:

```bash
npm run deploy -- -u
npm run deploy
```

There are a few steps during the deployment that require manual intervention. The deploy script will indicate when these steps should be taken with a ⚠️ warning message.
Expand Down

0 comments on commit e619d42

Please sign in to comment.