Additional drizzle cleanup. Move scrub transformation to server side.
This commit is contained in:
@@ -2,43 +2,55 @@ service: esdp-api
|
||||
app: esdp-api-app
|
||||
frameworkVersion: '4'
|
||||
|
||||
# Common parameters shared across all stages
|
||||
custom:
|
||||
commonParams:
|
||||
es_user: Imex2
|
||||
es_password: Patrick
|
||||
hasura_secret_arn: arn:aws:secretsmanager:ca-central-1:714144183158:secret:esdp-hasura-credentials-s81i1u-BDFgPi
|
||||
|
||||
stages:
|
||||
prod:
|
||||
# Enables observability in the prod stage
|
||||
observability: true
|
||||
|
||||
# Stage-specific parameter values for prod
|
||||
# Sepcify parameter values to be used in the prod stage
|
||||
params:
|
||||
es_endpoint: https://insurtechtoolkit.com
|
||||
domain: es.imex.online
|
||||
es_user: Imex2
|
||||
es_password: Patrick
|
||||
beta:
|
||||
# Enables observability in the prod stage
|
||||
observability: false
|
||||
|
||||
# Stage-specific parameter values for beta
|
||||
# Sepcify parameter values to be used in the prod stage
|
||||
params:
|
||||
es_endpoint: https://4284-79073.el-alt.com
|
||||
domain: beta.es.imex.online
|
||||
es_user: Imex2
|
||||
es_password: Patrick
|
||||
alpha:
|
||||
# Enables observability in the prod stage
|
||||
observability: false
|
||||
|
||||
# Stage-specific parameter values for alpha
|
||||
# Sepcify parameter values to be used in the prod stage
|
||||
params:
|
||||
es_endpoint: https://4284-79287.el-alt.com
|
||||
domain: alpha.es.imex.online
|
||||
es_user: Imex2
|
||||
es_password: Patrick
|
||||
dev:
|
||||
# Enables observability in the prod stage
|
||||
observability: false
|
||||
|
||||
# Stage-specific parameter values for dev
|
||||
# Sepcify parameter values to be used in the prod stage
|
||||
params:
|
||||
es_endpoint: https://4284-79287.el-alt.com
|
||||
domain: dev.es.imex.online
|
||||
es_user: Imex2
|
||||
es_password: Patrick
|
||||
|
||||
# params:
|
||||
# dev:
|
||||
# domain: dev.es.imex.online
|
||||
# alpha:
|
||||
# domain: alpha.es.imex.online
|
||||
# beta:
|
||||
# domain: beta.es.imex.online
|
||||
# prod:
|
||||
# domain: es.imex.online
|
||||
|
||||
provider:
|
||||
name: aws
|
||||
@@ -69,8 +81,8 @@ functions:
|
||||
handler: src/handlers/scrub.handler
|
||||
environment:
|
||||
ES_ENDPOINT: ${param:es_endpoint}
|
||||
ES_USER: ${self:custom.commonParams.es_user}
|
||||
ES_PASSWORD: ${self:custom.commonParams.es_password}
|
||||
ES_USER: ${param:es_user}
|
||||
ES_PASSWORD: ${param:es_password}
|
||||
events:
|
||||
- httpApi:
|
||||
path: /scrub
|
||||
|
||||
Reference in New Issue
Block a user