From e619d42c22db91f73b9621fc6362f8ce135dc89a Mon Sep 17 00:00:00 2001 From: Jody Clements Date: Mon, 2 Oct 2023 13:39:26 -0400 Subject: [PATCH] Adds warning about deployment of cognito pool 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. --- content/docs/administration/aws/deployment.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/docs/administration/aws/deployment.md b/content/docs/administration/aws/deployment.md index 3a24461..ccfc322 100644 --- a/content/docs/administration/aws/deployment.md +++ b/content/docs/administration/aws/deployment.md @@ -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 ``` +> ⚠️ **The user pool should only be created once.**: 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.