Skip to content

Commit cf19664

Browse files
committed
JavaScript (v3): Textract - Fix non-unique domain prefix in textract-react CFN template.
1 parent 7fdc2cd commit cf19664

File tree

1 file changed

+13
-1
lines changed
  • javascriptv3/example_code/cross-services/textract-react

1 file changed

+13
-1
lines changed

javascriptv3/example_code/cross-services/textract-react/setup.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,19 @@ Resources:
201201
textractcognitodemoidtextractcognitodemodomainEBB6899F:
202202
Type: AWS::Cognito::UserPoolDomain
203203
Properties:
204-
Domain: textract-demo
204+
Domain:
205+
Fn::Join:
206+
- '-'
207+
- - textract-react
208+
- Fn::Select:
209+
- 4
210+
- Fn::Split:
211+
- '-'
212+
- Fn::Select:
213+
- 2
214+
- Fn::Split:
215+
- /
216+
- Ref: AWS::StackId
205217
UserPoolId:
206218
Ref: textractcognitodemoidA350B90F
207219
Metadata:

0 commit comments

Comments
 (0)