Skip to content
Snippets Groups Projects
Commit ce07f4a1 authored by MIchael Nguyen's avatar MIchael Nguyen
Browse files

working with cloud formation

parent fc1c52c1
No related branches found
No related tags found
1 merge request!6Trusted ibm
......@@ -194,7 +194,6 @@ Resources:
!Sub "${Environment}-IndexerServiceIamUserArn"
# TODO: need to create cognito user and identity pool and link it to principal for dynamic creation
- "arn:aws:iam::888733619319:role/Cognito_osduelasticsearchAuth_Role"
- 'arn:aws:cognito-idp:us-east-1:888733619319:userpool/us-east-1_JZGntWnCb'
Action:
- "es:*"
- 'cognito-identity:*'
......
......@@ -68,6 +68,7 @@ Resources:
- 'cognito-identity:*'
- 'cognito-idp:*'
- 'sts:AssumeRole'
- "iam:*"
Effect: Allow
Resource: '*'
UserName: !Sub ${Environment}-${IndexerServiceIamUsername}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment