aws-amplify / amplify-category-api

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development. This plugin provides functionality for the API category, allowing for the creation and management of GraphQL and REST based backends for your amplify project.
https://docs.amplify.aws/
Apache License 2.0
90 stars 76 forks source link

Is it possible to use `@searchable` directive with AWS Elasticsearch t2.micro.elasticsearch instance? If yes, how? #307

Open sakhmedbayev opened 4 years ago

sakhmedbayev commented 4 years ago

Which Category is your question related to? API

What AWS Services are you utilizing? AWS Elasticsearch

Provide additional details e.g. code snippets Is it possible to use @searchable directive with AWS Elasticsearch t2.micro.elasticsearch instance? If yes, how?

attilah commented 4 years ago

Unfortunately it is not possible today, we have a closed - not merged - PR around this problem, but to fully cover all the use cases without breaking existing customers we need additional work in the CLI to enable the full solution. Here is the PR in question in case you're interested: https://github.com/aws-amplify/amplify-cli/pull/4009

If you need other machine size the CLI provides a way to override the default one, see the documentation here: https://docs.amplify.aws/cli/graphql-transformer/config-params#elasticsearchinstancetype

ericowhadi commented 4 years ago

interesting read on the config-params. But I don't see that the version of elasticsearch is possible to change, is it? Asking because I need minimum 6.3 to get some feature with dense verctors, and 6.2 is the one picked by Amplify?