-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelastic-search.yml
32 lines (32 loc) · 957 Bytes
/
elastic-search.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AWSTemplateFormatVersion: 2010-09-09
Description: ElasticsearchDomain resource
Resources:
ElasticsearchDomain:
Type: AWS::Elasticsearch::Domain
Properties:
DomainName: "test"
ElasticsearchClusterConfig:
DedicatedMasterEnabled: "true"
InstanceCount: "1"
ZoneAwarenessEnabled: "true"
InstanceType: "m3.small.elasticsearch"
DedicatedMasterType: "m3.small.elasticsearch"
DedicatedMasterCount: "1"
EBSOptions:
EBSEnabled: true
Iops: 0
VolumeSize: 20
VolumeType: "gp2"
SnapshotOptions:
AutomatedSnapshotStartHour: "0"
AccessPolicies:
Version: "2012-10-17"
Statement:
-
Effect: "Allow"
Principal:
AWS: "arn:aws:iam::123456789012:user/es-user"
Action: "es:*"
Resource: "arn:aws:es:us-east-1:846973539254:domain/test/*"
AdvancedOptions:
rest.action.multi.allow_explicit_index: "true"