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

updating policy.

parent a3dd30bf
No related branches found
No related tags found
1 merge request!6Trusted ibm
......@@ -192,6 +192,7 @@ Resources:
- !Sub arn:aws:iam::${AWS::AccountId}:root
- Fn::ImportValue:
!Sub "${Environment}-IndexerServiceIamUserArn"
- "arn:aws:iam::888733619319:role/Cognito_osduelasticsearchAuth_Role"
Action: "es:*"
Resource: !Sub arn:aws:es:us-east-1:846973539254:domain/${Environment}-${ElasticsearchDomainName}/*
AdvancedOptions:
......
......@@ -65,6 +65,8 @@ Resources:
- 'logs:*'
- 'cloudwatch:*'
- 'es:*'
- 'cognito-identity:*'
- 'cognito-idp:*'
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