diff --git a/serverless.yml b/serverless.yml index ef327be..91a803f 100644 --- a/serverless.yml +++ b/serverless.yml @@ -15,6 +15,8 @@ provider: APP_ENV: prod EXTERNALS_APP_VERSION: ${env:GITHUB_RUN_ID} DATABASE_NAME: 'externals-prod' + #DATABASE_HOST: ${ssm:/externals/db/host} + #DATABASE_PORT: 3306 DATABASE_USER: ${ssm:/externals/db/user} DATABASE_PASSWORD: ${ssm:/externals/db/password} ALGOLIA_APP_ID: KSTITII7EC @@ -112,10 +114,10 @@ functions: environment: BREF_LOOP_MAX: '1' events: - # - schedule: - # rate: rate(15 minutes) - # # Only enabled in production - # enabled: ${param:isProd} + - schedule: + rate: rate(15 minutes) + # Only enabled in production + enabled: ${param:isProd} console: handler: console