-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.yml
More file actions
21 lines (18 loc) · 759 Bytes
/
deploy.yml
File metadata and controls
21 lines (18 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: 0.2
proxy:
logs: yes
phases:
install:
runtime-versions:
python: 3.9
pre_build:
commands:
- ls
post_build:
commands:
- aws lambda update-function-code --function-name index-photos --zip-file fileb://LF1_deployment.zip
- aws lambda update-function-code --function-name index-photos-cf --zip-file fileb://LF1_deployment.zip
- aws lambda update-function-code --function-name arn:aws:lambda:us-east-1:558602268537:function:hw2-LF2 --zip-file fileb://LF2_deployment.zip
- aws lambda update-function-code --function-name search-photos-cf --zip-file fileb://LF2_deployment.zip
- aws s3 cp LF1_deployment.zip s3://ccbd-hw-2-lambdas/
- aws s3 cp LF2_deployment.zip s3://ccbd-hw-2-lambdas/