CircleCI-Public / aws-sam-serverless-orb

AWS serverless Orb
https://circleci.com/orbs/registry/orb/circleci/aws-sam-serverless
MIT License
11 stars 25 forks source link

feat: add `parameter-overrides`/`additional-args` to build command #58

Closed davidjb closed 1 year ago

davidjb commented 1 year ago

This adds parameter-overrides and additional-args to the SAM build command, much as they're available to be passed to the deploy command.

In addition, this also allows additional-build-args to be passed to the build command within the deploy job and also for the deploy job's parameter-overrides to be passed through to the build command. In the case that a person wished to have separate or different parameter-overrides for their build and deploy commands when running the deploy job, additional-build-args is passed to the sam command after parameter-overrides and thus could be used to fine tune the parameters and final command.