update id
This commit is contained in:
@@ -10,6 +10,16 @@ BUCKET_NAME: str = os.getenv('BUCKET_NAME') # type: ignore
|
||||
EMAIL_SENDER = ('EDUSEG®', 'noreply@eduseg.com.br')
|
||||
PAPERFORGE_API = 'https://paperforge.saladeaula.digital'
|
||||
|
||||
|
||||
DBNAME: str = os.getenv('POSTGRES_DB') # type: ignore
|
||||
DBHOST: str = os.getenv('POSTGRES_HOST') # type: ignore
|
||||
DBPORT: str = os.getenv('POSTGRES_PORT') # type: ignore
|
||||
DBUSER: str = os.getenv('POSTGRES_USER') # type: ignore
|
||||
DBPASS: str = os.getenv('POSTGRES_PASSWORD') # type: ignore
|
||||
conninfo = f'dbname={DBNAME} user={DBUSER} password={DBPASS} \
|
||||
host={DBHOST} port={DBPORT}'
|
||||
|
||||
|
||||
# Post-migration: Remove the following lines
|
||||
if os.getenv('AWS_LAMBDA_FUNCTION_NAME'):
|
||||
SQLITE_DATABASE = 'courses_export_2025-06-18_110214.db'
|
||||
|
||||
@@ -39,6 +39,11 @@ Globals:
|
||||
ORDER_TABLE: !Ref OrderTable
|
||||
COURSE_TABLE: !Ref CourseTable
|
||||
BUCKET_NAME: !Ref BucketName
|
||||
POSTGRES_DB: saladeaula.digital
|
||||
POSTGRES_HOST: sp-node01.saladeaula.digital
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_USER: "{{resolve:ssm:/saladeaula/postgres_user}}"
|
||||
POSTGRES_PASSWORD: "{{resolve:ssm:/saladeaula/postgres_password}}"
|
||||
|
||||
Resources:
|
||||
EventLog:
|
||||
|
||||
Reference in New Issue
Block a user