Skip to content

Instantly share code, notes, and snippets.

@merictaze
Created July 2, 2018 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merictaze/0de4b21eaf7c4b03f31b700bafc03c65 to your computer and use it in GitHub Desktop.
Save merictaze/0de4b21eaf7c4b03f31b700bafc03c65 to your computer and use it in GitHub Desktop.
ElasticsearchDomain:
Type: 'AWS::Elasticsearch::Domain'
Properties:
DomainName: 'es-order'
ElasticsearchClusterConfig:
InstanceType: 't2.micro.elasticsearch'
InstanceCount: 1
EBSOptions:
EBSEnabled: true
Iops: 0
VolumeSize: 10
VolumeType: 'standard'
AccessPolicies:
Version: '2012-10-17'
Statement:
- Effect: 'Allow'
Principal:
AWS: !GetAtt LambdaRole.Arn
Action: 'es:*'
Resource: '*'
AdvancedOptions:
rest.action.multi.allow_explicit_index: 'true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment