S3 upload

Keep in mind that in many cases, when working with AWS services, like Lambda it’s required that your artifacts are available on S3.

In Chillout Development we use S3 as our private Maven repository. But open source projects are deployed into Maven Central Repository. To expose these packages through S3 we use following steps in our CI/CD setup:

# download artifact from Maven Central into local repository
mvn dependency:get …
# deploy it into your private S3 repository
mvn deploy:deploy-file …

Note: Lambda package is a completely stand-alone package, you can use it out of the box regardless of your technology stack. Solution with Maven is just one case that we use.