Sparta v0.10.0 Release Notes
-
- 💥 :warning: BREAKING
describe
option now requires-b/--s3Bucket
argument- Changed signature of
aws/s3/CreateS3RollbackFunc
to accept full S3 URL, includingversionId
query param - Signatures for
sparta.Provision
andsparta.Discover
updated with new arguments
:checkered_flag: CHANGES
- Add
-p/--codePipelineTrigger
command line option to generate CodePipeline deployment package - Add
sparta.RegisterCodePipelineEnvironment
to define environment variables in support of CloudFormation Deployments. Example:
- Add
func init() { sparta.RegisterCodePipelineEnvironment("test", map[string]string{ "MESSAGE": "Hello Test!", }) sparta.RegisterCodePipelineEnvironment("production", map[string]string{ "MESSAGE": "Hello Production!", }) }
- Add support for
Environment
andKmsKeyArn
properties to LambdaFunctionOptions. See AWS for more information. - Move all build artifacts to ./sparta directory
-n/--noop
argument orphans S3 artifacts in ./sparta directory- Add support for S3 version policy enabled buckets
- Artifacts pushed to S3 version-enabled buckets now use stable object keys. Rollback functions target specific versions if available.
- Cleanup log statements
Add
sparta/aws/session.NewSessionWithLevel()
to support AWS LogLevel parameter- 🛠 :bug: FIXED
- 💥 :warning: BREAKING