You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/document-explorer/README.md
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -124,21 +124,27 @@ Default output format [None]: json
124
124
125
125
2. Configure your environment variables in`client_app/Dockerfile`. Replace the property values with the values the were outputted from the backend Terraform deployment in your terminal. You will leave `APP_URI` as a placeholder for now because the URI will be the Cloudfront URL output from your Front End Terraform deployment.
126
126
127
+
> [!TIP]
128
+
> Use this command-line to get them from the Terraform outputs to copy and paste into the Dockerfile:
129
+
130
+
```shell
131
+
terraform output | tr a-z A-Z | sed -e 's/ = /=/g'| sed -e 's/^/ENV /g'| sort -u
Note: The ```COGNITO_CLIENT_SECRET``` is a secret value that can be retrieved from the AWS Console. Go to the [Amazon Cognito page](https://console.aws.amazon.com/cognito/home) in the AWS console, thenselectthe created user pool. Under App integration, selectApp client settings. Then, selectShow Details and copy the value of the App client secret.
147
+
Note: The ```location_of_cognito_user_client_secret``` is a location of the secret value that can be retrieved from the AWS Console. Go to the [Amazon Cognito page](https://console.aws.amazon.com/cognito/home) in the AWS console, thenselectthe created user pool. Under App integration, selectApp client settings. Then, selectShow Details and copy the value of the App client secret.
0 commit comments