2
votes

AWS Elasticsearch supports following encryption option: * Require HTTPS for all traffic to the domain

But there is no available option in CloudFormation resource: * https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html

Do you know if there are any way to set it using CloudFormation?

2

2 Answers

1
votes

As feature was recently released, it is not yet available in CloudFormation or Terraform, but it could be done via CLI after Domain will be provisioned:

aws es update-elasticsearch-domain-config --domain-name <name> \
  --domain-endpoint-options EnforceHTTPS=true,TLSSecurityPolicy=Policy-Min-TLS-1-2-2019-07