Skip to content

Commit

Permalink
Merge pull request #764 from techmatters/gian_CHI-2827-2-reg-1.18-rc-…
Browse files Browse the repository at this point in the history
…merge

chore: resources search point to shared ES instance
  • Loading branch information
GPaoloni authored Oct 17, 2024
2 parents 7bcd357 + a63e058 commit 33e939b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/elasticsearch-client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const getEsConfig = async ({
return JSON.parse(await getSsmParameter(ssmConfigParameter));
}

// TODO: remove this if it's not used anymore?
return JSON.parse(await getSsmParameter(getConfigSsmParameterKey(indexType)));
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const resourceService = () => {
await getClient({
accountSid,
indexType: RESOURCE_INDEX_TYPE,
ssmConfigParameter: process.env.SSM_PARAM_ELASTICSEARCH_CONFIG,
})
).searchClient(searchConfiguration);
const { generalSearchTerm, ...esSearchParameters } = {
Expand Down

0 comments on commit 33e939b

Please sign in to comment.