File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 11# Lambda Container Service
22> Service template using container based lambda function
33
4+ ## Setup
5+ 1 . Create ECR Repo
6+ 2 . Add folloeing permissions to Repo which allows Lambda to fetch image.
7+ ``` json
8+ {
9+ "Sid" : " LambdaECRImageRetrievalPolicy" ,
10+ "Effect" : " Allow" ,
11+ "Principal" : {
12+ "Service" : " lambda.amazonaws.com"
13+ },
14+ "Action" : [
15+ " ecr:BatchGetImage" ,
16+ " ecr:GetDownloadUrlForLayer"
17+ ]
18+ }
19+ ```
20+ 3 . Change the Repo Name in
21+ 1 . publish.sh:3 (Line 3)
22+ 2 . .github/workflows/release.yml (Line 40; To update login credentials)
23+
424## Developing
525
626Runs a custom dev webserver which hosts the lambda function which can be hosted on
Original file line number Diff line number Diff line change 1+ envs :
2+ # Development environment
3+ - name : development
4+ auto_merge : false
5+ required_contexts : []
6+
7+ # Development environment
8+ - name : beta
9+ auto_merge : false
10+ required_contexts : []
11+
12+ # Production environment
13+ - name : production
14+ auto_merge : true
15+ required_contexts :
16+ - test
17+ - docker-image
You can’t perform that action at this time.
0 commit comments