diff --git a/backend/app/plan/router.py b/backend/app/plan/router.py index 80a531bf..b85637e7 100644 --- a/backend/app/plan/router.py +++ b/backend/app/plan/router.py @@ -422,6 +422,8 @@ router = APIRouter( @router.post("/trigger") async def trigger_plan(body: PlanTriggerRequest): + logger.info("API triggered with body: %s", body) + logger.info("Connecting to db") session = sessionmaker(bind=db_engine)() created_at = datetime.now().isoformat() diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index 006f088a..759d316c 100644 --- a/backend/docker/Dockerfile +++ b/backend/docker/Dockerfile @@ -41,6 +41,7 @@ COPY ./etl/epc_clean/ ./etl/epc_clean/ COPY ./etl/bill_savings/ ./etl/bill_savings/ COPY ./etl/spatial/ ./etl/spatial/ COPY ./datatypes/ ./datatypes/ +COPY .etl/find_my_epc/ ./etl/find_my_epc/ # Set the ENTRYPOINT to the AWS Lambda RIC and CMD to your function handler ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]