Skip to content

Commit

Permalink
refactor(graphql-searchable-transformer): change ES_ env vars to OPEN…
Browse files Browse the repository at this point in the history
…SEARCH_
  • Loading branch information
danielleadams committed Jul 29, 2021
1 parent 8b3e138 commit 759e683
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ export const createLambda = (
const { OpenSearchStreamingLambdaFunctionLogicalID } = ResourceConstants.RESOURCES;
const { OpenSearchStreamingLambdaHandlerName, OpenSearchDebugStreamingLambda } = ResourceConstants.PARAMETERS;
const enviroment: { [key: string]: string } = {
ES_ENDPOINT: 'https://' + endpoint,
ES_REGION: region,
OPENSEARCH_ENDPOINT: 'https://' + endpoint,
OPENSEARCH_REGION: region,
DEBUG: parameterMap.get(OpenSearchDebugStreamingLambda)!.valueAsString,
ES_USE_EXTERNAL_VERSIONING: isProjectUsingDataStore.toString(),
OPENSEARCH_USE_EXTERNAL_VERSIONING: isProjectUsingDataStore.toString(),
};

return apiGraphql.host.addLambdaFunction(
Expand Down

0 comments on commit 759e683

Please sign in to comment.