v0.81-beta - BugFixes, Better Session Management, Stack Protection and More
Pre-release
Pre-release
This release adds a few interesting features and squashes some bugs.
Bug Fixes
- Added errror checking to terminating stacks. Fixes intermittent stack trace during termination commands in shell-mode
Features
-
region can now be specified in config for each stack as a keyword.
stacks:
mystack:
region: us-east-1
source: some.template
cf:
some: value
As each stack will have it's own session, the stack_output gen-time template command can be used for cross-region output sharing, without the need to set up a new AWS profile.
-
Termination Protects can now be enabled for all stacks.
$ qaz protect --all --config some.yaml # turns on protection for all
$ qaz protect --all --off --config some.yaml # turns off protection for all
Individual stacks can also be specified.
$ qaz protect mystack --config some.yaml
$ qaz protect mystack --off --config some.yaml
-
git-status
A git-status command has been added. This command allows you to check the status of a deployment by calling the config file on a Git Repo directly.
qaz git-status https://github.com/cfn-deployable/simplevpc
info: fetching git repo: [simplevpc]
--
Counting objects: 14, done.
Total 14 (delta 0), reused 0 (delta 0), pack-reused 14
--
create_pending -> vpc [qaz-project-vpc]
Updated 2018-08-29:
@thorstenhuhn Added mod Gen-Time function for Modulus Division within templates. I.e Returns the remainder of an uneven division.
Example:
{{ mod 7 3 }} returns --> 1
Updated 2018-09-22:
@thorstenhuhn Added seq Gen-Time function for sequence iteration. I.e Iteration over a given range.
Example:
{{ range $i, $seq := seq 1 5 }}
MyInstance{{ $seq }}:
Type: AWS::EC2::Instance
...
{{ end }}