Skip to content

Commit

Permalink
updated makefile - changed fn name
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycook123 committed Dec 4, 2023
1 parent 7dbadd4 commit d319315
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,13 @@ def lambda_handler(event, context):

print("EBS vols to delete:")
for vol in unused_volumes:
print(vol)
print(vol)

return {
"statusCode": 200,
"isBase64Encoded": False,
"headers": {
"Content-Type": "application/json"
},
"body": {"unused_volumes": unused_volumes}
}
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export LAMBDA_NAME=finops-janitor
export LAMBDA_NAME=cloudacademy-finops-janitor
export LAMBDA_REGION=us-west-2
export IAM_ROLE_ARN=TOKEN_IAM_ROLE_ARN
export S3_BUCKET_NAME=TOKEN_S3_BUCKET_NAME
Expand Down

0 comments on commit d319315

Please sign in to comment.