cfntools / cloudformation-gaps

Project to track CloudFormation Coverage
34 stars 1 forks source link

AWS::Elasticsearch::Domain.ElasticsearchClusterConfig.ZoneAwarenessConfig #37

Open trav-c opened 5 years ago

trav-c commented 5 years ago

https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-configuration-api.html#es-configuration-api-actions-createelasticsearchdomain

ZoneAwarenessConfig is required in order to set an Elasticsearch cluster to more than 2 availability zones

benbridts commented 5 years ago

This is supported: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-zoneawarenessenabled

trav-c commented 5 years ago

@ikben, ZoneAwarenessEnabled is indeed supported, but it is not quite the same, it allows the service to be configured to support two availability zones, In order to extend that to three, you must both set the ZoneAwarenessEnabled flag to TRUE and also include a ZoneAwarenessConfig.AvailabilityZoneCount of '3':

   "ZoneAwarenessEnabled": "<TRUE|FALSE>",
   "ZoneAwarenessConfig": {
       "AvailabilityZoneCount": <2|3>
   }
benbridts commented 5 years ago

You're right!