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-jose==3.3.0
PyYAML==6.0
cryptography==41.0.2
cryptography==37.0.4

View file

@ -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