Repository navigation
Issue 123 all layers option - #151
juanmatias merged 15 commits into
Conversation
…-layers list to run from account level
…tomagically generated; removed hidden commands from tf commands
Co-authored-by: Angelo Fenoglio <[email protected]>
…unctions; code refactor for sake of readability
Co-authored-by: Angelo Fenoglio <[email protected]>
Co-authored-by: Angelo Fenoglio <[email protected]>
Co-authored-by: Angelo Fenoglio <[email protected]>
|
@angelofenoglio fixed and replied your comments please take a look at function set_backend_key also, please look at these lines |
|
@angelofenoglio leverage/leverage/container.py Line 313 in 99a8b03 I renamed the 'other under project' to 'sublayer' it is used to run with leverage/leverage/modules/terraform.py Line 196 in 99a8b03 |
This looks good! And the small chart helps with understanding the logic.
The info in here works nicely as a quick reference but all the changes and different behaviors introduced in these last PRs should be clearly expressed in the documentation since they are going to be critical for the user.
I think in this case is the other way around, so for example the dns layer which is on |
|
@angelofenoglio value changed from Changes made here: leverage/leverage/container.py Line 313 in 53b6ba5 leverage/leverage/modules/terraform.py Line 196 in 53b6ba5 leverage/leverage/modules/aws.py Line 182 in 53b6ba5 |
* ISSUE-141 Added multi options for s3 key checking * ISSUE-141 Improved way to check DR * ISSUE-1 added multi region support, tfautomv, s3 key autogeneration, layer region autodetection, region fallback system (layer dir, then account tfvars, then project tfvars) * ISSUE-141 adding path to deploy beta and alpha images * ISSUE-141 fixed python version * ISSUE-141 added region var to tf command line; fixed var name in credentials * ISSUE-141 set toolbox version * ISSUE-141 imported tests from master * ISSUE-141 fix to _find_region function * Update leverage/container.py Co-authored-by: Angelo Fenoglio <[email protected]> * Update leverage/container.py Co-authored-by: Angelo Fenoglio <[email protected]> * Update leverage/container.py Co-authored-by: Angelo Fenoglio <[email protected]> * Update leverage/modules/terraform.py Co-authored-by: Angelo Fenoglio <[email protected]> * Issue 123 all layers option (#151) * ISSUE-123 added logic for init-multi command * ISSUE-123 all terraform commands keeps running on layers but accept --layers list to run from account level * ISSUE-141 persist s3 key when dynamically generated * ISSUE-123 added logic for recording the s3 key in the tf file when automagically generated; removed hidden commands from tf commands * Update leverage/container.py Co-authored-by: Angelo Fenoglio <[email protected]> * ISSUE-123 changed internal functions from click commands to regular functions; code refactor for sake of readability * ISSUE-123 fixed test * ISSUE-123 fixed makefile for testing * Update leverage/container.py Co-authored-by: Angelo Fenoglio <[email protected]> * Update leverage/container.py Co-authored-by: Angelo Fenoglio <[email protected]> * Update leverage/modules/terraform.py Co-authored-by: Angelo Fenoglio <[email protected]> * ISSUE-123 fixed comments for PR 151 * ISSUE-123 removed comments * ISSUE-123 fixed condition * ISSUE-123 changed value sublayer to layers_group Co-authored-by: Angelo Fenoglio <[email protected]> * ISSUE-141 toolbox version updated Co-authored-by: Angelo Fenoglio <[email protected]>
What?
TF base commands can be run as they are from inside a layer dir:
...or with
--layersoption from the account dir:terraform.pywas refactored for sake of readability.Why?
References
n/a