Skip to content

Commit

Permalink
fix(cwp-template-aws): add ELASTIC_SEARCH_INDEX_PREFIX to pageBuilder…
Browse files Browse the repository at this point in the history
… lambda ENV
  • Loading branch information
Ashu96 authored and adrians5j committed Oct 18, 2021
1 parent eb30332 commit 595a11a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/cwp-template-aws/template/api/pulumi/dev/index.ts
Expand Up @@ -41,6 +41,11 @@ export default () => {
DB_TABLE: dynamoDb.table.name,
DB_TABLE_ELASTICSEARCH: elasticSearch.table.name,
ELASTIC_SEARCH_ENDPOINT: elasticSearch.domain.endpoint,

// Not required. Useful for testing purposes / ephemeral environments.
// https://www.webiny.com/docs/key-topics/ci-cd/testing/slow-ephemeral-environments
ELASTIC_SEARCH_INDEX_PREFIX: process.env.ELASTIC_SEARCH_INDEX_PREFIX,

S3_BUCKET: fileManager.bucket.id,
DEBUG,
WEBINY_LOGS_FORWARD_URL
Expand Down
5 changes: 5 additions & 0 deletions packages/cwp-template-aws/template/api/pulumi/prod/index.ts
Expand Up @@ -47,6 +47,11 @@ export default () => {
DB_TABLE: dynamoDb.table.name,
DB_TABLE_ELASTICSEARCH: elasticsearch.table.name,
ELASTIC_SEARCH_ENDPOINT: elasticsearch.domain.endpoint,

// Not required. Useful for testing purposes / ephemeral environments.
// https://www.webiny.com/docs/key-topics/ci-cd/testing/slow-ephemeral-environments
ELASTIC_SEARCH_INDEX_PREFIX: process.env.ELASTIC_SEARCH_INDEX_PREFIX,

S3_BUCKET: fileManager.bucket.id,
DEBUG,
WEBINY_LOGS_FORWARD_URL
Expand Down

0 comments on commit 595a11a

Please sign in to comment.