Skip to content

Commit 74d2b76

Browse files
authored
Merge branch 'master' into master
2 parents adbbfb4 + 9ae9e6c commit 74d2b76

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,18 @@ plugins:
1919
- serverless-cognito-add-custom-attributes
2020

2121
custom:
22-
CognitoAddCustomAttributes:
23-
CognitoUserPoolIdOutputKey: "CognitoUserPoolApplicationUserPoolId"
24-
CognitoUserPoolClientIdOutputKey: "CognitoUserPoolApplicationUserPoolClientId"
25-
CustomAttributes:
26-
-
22+
CognitoAddCustomAttributes:
23+
CognitoUserPoolIdOutputKey: "CognitoUserPoolApplicationUserPoolId" # The key of the outputted UserPool Ref
24+
CognitoUserPoolClientIdOutputKey: "CognitoUserPoolApplicationUserPoolClientId" # The key of the outputted UserPoolClient Ref
25+
CustomAttributes:
26+
-
2727
AttributeDataType: String
2828
DeveloperOnlyAttribute: False
2929
Mutable: True
3030
Name: "another" # this will end up being custom:another
3131
Required: False
3232

33+
# Only add this if not already outputting the Cognito User Pool and Client IDs, otherwise, refer to the existing outputs in the custom:CognitoAddCustomAttributes section
3334
resources:
3435
Outputs:
3536
CognitoUserPoolApplicationUserPoolId:

0 commit comments

Comments
 (0)