This open source project provides hands-on materials on different aspects of working in the clouds like AWS and GCP.
Terraform recipe - How to create AWS ElasticSearch cluster
From this recipe you’ll learn how to create AWS ElasticSearch cluster in VPC using Terrafrom. Source code is available in my GitHub repo. Amazon Elasticsearch Service is an AWS managed service, that makes it easy to deploy, operate, and scale Elasticsearch clusters.