downgraded crypography again

This commit is contained in:
Khalim Conn-Kowlessar 2023-07-18 09:58:08 +01:00
parent ca8ee7fd82
commit 1c9a9ec88c
2 changed files with 4 additions and 6 deletions

View file

@ -15,4 +15,4 @@ PyJWT==2.7.0
python-dotenv==1.0.0 python-dotenv==1.0.0
python-jose==3.3.0 python-jose==3.3.0
PyYAML==6.0 PyYAML==6.0
cryptography==41.0.2 cryptography==37.0.4

View file

@ -4,8 +4,6 @@ provider:
name: aws name: aws
runtime: python3.10 runtime: python3.10
region: eu-west-2 region: eu-west-2
# arm64 causes issues with pycryptography - TODO: fix this so we can use arm64
# architecture: arm64
architecture: x86_64 architecture: x86_64
environment: environment:
API_KEY: ${env:API_KEY} API_KEY: ${env:API_KEY}
@ -14,6 +12,7 @@ provider:
PLAN_TRIGGER_BUCKET: ${env:PLAN_TRIGGER_BUCKET} PLAN_TRIGGER_BUCKET: ${env:PLAN_TRIGGER_BUCKET}
DOMAIN_NAME: ${env:DOMAIN_NAME} DOMAIN_NAME: ${env:DOMAIN_NAME}
package: package:
individually: true individually: true
include: include:
@ -30,6 +29,7 @@ custom:
useDocker: true useDocker: true
dockerSsh: true dockerSsh: true
fileName: requirements/base.txt fileName: requirements/base.txt
# dockerRunCmdExtraArgs: ['--platform', 'linux/amd64']
customDomain: customDomain:
domainName: api.${self:provider.environment.DOMAIN_NAME} domainName: api.${self:provider.environment.DOMAIN_NAME}
createRoute53Record: true createRoute53Record: true
@ -38,8 +38,6 @@ custom:
functions: functions:
app: app:
handler: app.main.handler handler: app.main.handler
# layers:
# - ${ssm:/${self:provider.environment.ENVIRONMENT}/LambdaDependenciesLayerArn}
events: events:
- http: - http:
path: /{proxy+} path: /{proxy+}