An open API service indexing awesome lists of open source software.

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

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
```