terraform/ecc-aws-283-elasticsearch_latest_version/red/elasticsearch.tf (8 lines of code) (raw):
# takes about 20 min to deploy
resource "aws_elasticsearch_domain" "this" {
domain_name = "elasticsearch-283-red"
elasticsearch_version = "7.4"
ebs_options {
ebs_enabled = true
volume_size = "10"
}
}