Skip to content

Commit ca702d5

Browse files
authored
Merge pull request #333 from AlisProject/develop
Merge develop to master
2 parents c014088 + 674e15e commit ca702d5

26 files changed

+1506
-157
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ You have to add SNS authentication params to SSM.
119119

120120

121121
```bash
122-
./deploy.sh function && ./deploy.sh api
122+
./deploy.sh function && ./deploy.sh function02 && ./deploy.sh api
123123
```
124124

125125
You have to add `RestApiArn`, `ApiLambdaRole` and `ElasticSearchEndpoint` to SSM.
@@ -133,13 +133,13 @@ You have to add `RestApiArn`, `ApiLambdaRole` and `ElasticSearchEndpoint` to SSM
133133
You have to update Cognito pre authentication trigger.
134134

135135
```bash
136-
# Use this script with your Cognito User Pool ID
137-
./update_cognito_pre_auth.sh ap-northeast-XXXXXXXXXX
136+
# Get function name.
137+
aws lambda list-functions | jq -r --arg FUNCTION \
138+
"${ALIS_APP_ID}api-CognitoTriggerPreAuthentication" '.Functions[] | select(.FunctionName | test($FUNCTION)) | .FunctionName'
139+
140+
# Add it to Cognito via Management console
138141
```
139142

140-
Specify generated ApiLambdaRole to SSM.
141-
- See: https://github.com/AlisProject/environment
142-
- You can use `functions-replacer.sh`
143143

144144
#### FYI:
145145
Lambda & API Gateway are bunch of CloudFormation stacks.

0 commit comments

Comments
 (0)