Adds some new command line arguments and global vars#45
Open
oskara wants to merge 6 commits intopeterkh:masterfrom
Open
Adds some new command line arguments and global vars#45oskara wants to merge 6 commits intopeterkh:masterfrom
oskara wants to merge 6 commits intopeterkh:masterfrom
Conversation
This feature will pack the json by removing indent spaces and newlines. This allows to circumvent: "Member must have length less than or equal to 51200"
Add --prefix argument to be able to override what the created stacks should be prefixed with.
Some values might be passed in to every stack. Keep them as global
variables instead of having to update in many places.
The global vars are added in the mega stack:
megastack:
# Global vars
vars:
globalVar1: Value
It can then be referenced in the params section of a stack:
stack:
params:
type: global
variable: globalVar1
To easily override one of your globals you can now pass one or many --override-global arguments. This can be useful to override for instance a cognito pool or an email adress depending on which account you are deploying the stack.
Depending on what environment you are running on you might want colors or not. This allows you to configure it when calling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
We are using cumulus to deploy stacks on different accounts. When deploying the same stack (megastack) against different accounts there are some difficulties with the current implementation, hence the following commits:
50646e7 Add global variables
9517fca Add argument for overriding global variables
a71e1f9 examples: add global var
Also, we ran in to a size problem with one of our larger stacks:
8ddfb19 Add compact body argument
To be able to deploy the stack on the same account multiple times one need another prefix:
2517ec8 Add stack prefix argument
And finally - some times we run cumulus on our desktop where highlighting is a good idea, but when deploying using e.g. Jenkins you might want to turn highlighting off for the same stack. This is what the following commit takes care of:
88aadd1 Add --[no-]highlight output argument
Hope you're interested and let me know any comments or feedback!
Thanks,
Oskar