- prefix change set with
bootstrap-{stage}-{region}- intead of serverless-bootstrap-
- support
--save option for bootstrap command, which will write diff in to a file that is named the same as the change set name, and contains the diff
- support
serverless deploy --execute that will look for the saved change set, and if the exact one exists it will execute it, otherwise it will error like it currently does
This will enable a developer workflow to open a PR with the diffs of all the different stage/region combinations available for review, as well as avoiding the PR-merge-fail-execute-retry behaviour currently required to deal with bootstrap changes.
bootstrap-{stage}-{region}-intead ofserverless-bootstrap---saveoption forbootstrapcommand, which will write diff in to a file that is named the same as the change set name, and contains the diffserverless deploy --executethat will look for the saved change set, and if the exact one exists it will execute it, otherwise it will error like it currently doesThis will enable a developer workflow to open a PR with the diffs of all the different stage/region combinations available for review, as well as avoiding the PR-merge-fail-execute-retry behaviour currently required to deal with bootstrap changes.