Sparta v0.7.0 Release Notes
-
- 💥 :warning: BREAKING
TemplateDecorator
signature changed to includeserviceName
,S3Bucket
, andS3Key
to allow for decorating CloudFormation with UserData to support alternative topology deployments.CommonIAMStatements
changed frommap[string][]iamPolicyStatement
to struct with named fields.PushSourceConfigurationActions
changed frommap[string][]string
to struct with named fields.- Eliminated goptions
- :checkered_flag: CHANGES
- Moved CLI parsing to Cobra
- Applications can extend the set of flags for existing Sparta commands (eg,
provision
can include--subnetIDs
) as well as add their own top level commands to theCommandLineOptions
exported values. See SpartaCICD for an example. - Added Sparta/aws/cloudformation
ConvertToTemplateExpression
to convert string value into Fn::Join compatible representation. Parses inline AWS references and supports user-defined template properties. - Added
sparta/aws/iam
PolicyStatement type - Upgraded
describe
output to use Mermaid 6.0.0 - All goreportcard issues fixed.
- 🛠 :bug: FIXED
- Fixed latent VPC provisioning bug where VPC/Subnet IDs couldn't be provided to template serialization.
- 💥 :warning: BREAKING