diff --git a/apprunner.yaml b/apprunner.yaml index a81a304..f68c31e 100644 --- a/apprunner.yaml +++ b/apprunner.yaml @@ -4,8 +4,6 @@ build: commands: build: - pip3 install -r requirements.txt - - pipenv install - run: runtime-version: 3.11 command: python3 server.py diff --git a/server.py b/server.py index 249509e..f5b50a9 100644 --- a/server.py +++ b/server.py @@ -7,13 +7,13 @@ from src.api.routers import ( - account, - load_transactions, - load_transactions_s3, - presiged_url, root, - send_balance, - transaction, + # account, + # load_transactions, + # load_transactions_s3, + # presiged_url, + # send_balance, + # transaction, ) app = FastAPI( @@ -27,12 +27,12 @@ ) app.include_router(root.router) -app.include_router(account.router) -app.include_router(transaction.router) -app.include_router(presiged_url.router) -app.include_router(load_transactions.router) -app.include_router(load_transactions_s3.router) -app.include_router(send_balance.router) +# app.include_router(account.router) +# app.include_router(transaction.router) +# app.include_router(presiged_url.router) +# app.include_router(load_transactions.router) +# app.include_router(load_transactions_s3.router) +# app.include_router(send_balance.router) if __name__ == "__main__": diff --git a/template.yml b/template.yml index 95c5e5f..f2f7630 100644 --- a/template.yml +++ b/template.yml @@ -96,7 +96,7 @@ Resources: SourceConfiguration: AuthenticationConfiguration: ConnectionArn: !Ref AppRunnerConnectionArn - AutoDeploymentsEnabled: true + AutoDeploymentsEnabled: false CodeRepository: RepositoryUrl: "https://github.com/montoyaobeso/transactions-email-generator" SourceCodeVersion: