https://github.com/raksul/aws-sam-image-resize
An example Image Resize API written in Golang using AWS SAM and Lambda with ALB
https://github.com/raksul/aws-sam-image-resize
Last synced: 3 months ago
JSON representation
An example Image Resize API written in Golang using AWS SAM and Lambda with ALB
- Host: GitHub
- URL: https://github.com/raksul/aws-sam-image-resize
- Owner: raksul
- Created: 2019-08-07T03:01:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T17:43:15.000Z (almost 6 years ago)
- Last Synced: 2025-01-29T13:27:31.610Z (4 months ago)
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# image-resize
## Requirements
* go1.12
* docker## Setup process
### Installing dependencies
```shell
make deps
```### Building
```shell
make build
```### Local development
**Invoking function locally**
```bash
sam local start-lambda
```## Packaging and deployment
```yaml
make deploy \
CodeBucket=raksul-image-resize-code \
StackName=raksul-image-resize \
VpcId=vpc-xxxxxxxx \
Subnet1=subnet-xxxxxxxx \
Subnet2=subnet-xxxxxxxx \
Bucket=raksul-image-resize
```