Skip to content

Commit

Permalink
Fix account management lambdas in v3.2
Browse files Browse the repository at this point in the history
**Why?**

Issue: #728

With the latest Python runtime update provided by AWS Lambda, the boto3
dependencies were upgraded. However, with the account management Lambda
functions, the `aws-xray-sdk` requires botocore v1.29.54. This version
is incompatible with the latest boto3 package that was added to the Lambda
function runtime. Hence, it returned an error as described in 728.

**What?**

To ensure compatible versions are installed, ADF's lambda functions should
set the specific version of boto3 in its requirements.txt file if they rely on
that.
  • Loading branch information
sbkok committed May 23, 2024
1 parent 0d3a7b2 commit 200f2dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lambda_codebase/account_processing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
aws-xray-sdk==2.11.0
boto3==1.26.48
botocore==1.29.48
pyyaml>=5.4.1
wrapt==1.14.1 # https://github.com/aws/aws-lambda-builders/issues/302

0 comments on commit 200f2dc

Please sign in to comment.