maciejtreder / serverless-apigw-binary

Serverless plugin for binary files support in AWS Gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support deployment to different stages

NickPyae opened this issue · comments

I tried to deploy my serverless project to dev stage and multipart/form-data content type was not created in Binary Support in API Gateway even though I specified it it serverless.yml like this

custom:
  apigwBinary:
    types:           
      - 'multipart/form-data'

I am trying to deploy my current project to different stages dev, staging and prod.

I solved it commenting the property profile of my serverless.yml and deploying the function again.
Once the function has been deployed, I can set profile as I like and the next deployments on this environment work. So it seems to be a problem when deploying the first time.

@pablotp Could you try to reproduce this bug with the latest version of plugin (0.3.6)?

@maciejtreder sorry for the late answer. Yes, it works now. Many thanks! :-)

@pablotp @NickPyae

Great to hear that!

Stars for this repo are welcome ;)

You can also check my Angular PWA boilerplate: https://github.com/maciejtreder/angular-universal-serverless