Add support for all regions into `deepify list`
mgoria opened this issue · comments
Now when executing $ deepify list
it lists services only from configured region in deeploy.json
.
Add the possibility (by default) to list services from all regions, it also implies adding another level into listing result besides grouping by application name, service type and resource name.
Prerequisites:
Deploy some dummy applications into your AWS account (e.g. todoMVC, HelloWorld, etc), in different regions, with different environments, etc.
Some use cases to cover:
- deepify list with all possible options / arguments
- deepify undeploy with all options / arguments (pay attention to
-r
use case, when same application is deployed with different env, in this case app hash is the same.)
Related tasks to test as well:
MitocGroup/deepify#369
MitocGroup/deepify#372
Test execution is blocked by the following issue:
#537
Test Passed
Acceptance Criteria:
- "deepify list" command should list all provisioned resources for deployed applications by application level the same as "deepify list --depth=1" command
- deepify list options should work as expected (details described in deepify helper) (including list levels)
Note:
-
There is an use case when not all services are available for particular region during deploy, in this case deepify list should also list provisioned resources in the available regions
-
Some of related use cases are described in the link bellow:
https://docs.google.com/spreadsheets/d/1ZydIS6zJ4rKfuOlis_vhfM2LfGNkUPCPYAsAMPxdHfA/edit#gid=0 -
There are some issues found during testing activities for "deepify list" and they related to "deepify deploy, undeploy" functionality and may affect "deepify list"
-
They will be tested separately and will include use cases descried in the issue
MitocGroup/deepify#388
MitocGroup/deepify#389
#544
#543
#537
MitocGroup/deepify#387