mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
downgraded crypography again
This commit is contained in:
parent
ca8ee7fd82
commit
1c9a9ec88c
2 changed files with 4 additions and 6 deletions
|
|
@ -15,4 +15,4 @@ PyJWT==2.7.0
|
|||
python-dotenv==1.0.0
|
||||
python-jose==3.3.0
|
||||
PyYAML==6.0
|
||||
cryptography==41.0.2
|
||||
cryptography==37.0.4
|
||||
|
|
@ -4,8 +4,6 @@ provider:
|
|||
name: aws
|
||||
runtime: python3.10
|
||||
region: eu-west-2
|
||||
# arm64 causes issues with pycryptography - TODO: fix this so we can use arm64
|
||||
# architecture: arm64
|
||||
architecture: x86_64
|
||||
environment:
|
||||
API_KEY: ${env:API_KEY}
|
||||
|
|
@ -14,6 +12,7 @@ provider:
|
|||
PLAN_TRIGGER_BUCKET: ${env:PLAN_TRIGGER_BUCKET}
|
||||
DOMAIN_NAME: ${env:DOMAIN_NAME}
|
||||
|
||||
|
||||
package:
|
||||
individually: true
|
||||
include:
|
||||
|
|
@ -30,6 +29,7 @@ custom:
|
|||
useDocker: true
|
||||
dockerSsh: true
|
||||
fileName: requirements/base.txt
|
||||
# dockerRunCmdExtraArgs: ['--platform', 'linux/amd64']
|
||||
customDomain:
|
||||
domainName: api.${self:provider.environment.DOMAIN_NAME}
|
||||
createRoute53Record: true
|
||||
|
|
@ -38,9 +38,7 @@ custom:
|
|||
functions:
|
||||
app:
|
||||
handler: app.main.handler
|
||||
# layers:
|
||||
# - ${ssm:/${self:provider.environment.ENVIRONMENT}/LambdaDependenciesLayerArn}
|
||||
events:
|
||||
- http:
|
||||
path: /{proxy+}
|
||||
method: ANY
|
||||
method: ANY
|
||||
Loading…
Add table
Reference in a new issue