orch_core

troposphere_mate.core.orch_core.extract_all_env_tag(plan)[source]
Parameters:plan (List[List[str, str]]) – [(can_id1, env_tag1), (can_id2, env_tag2), …]
Return type:List[str]
troposphere_mate.core.orch_core.resolve_pipeline(plan)[source]

Convert the item-to-deploy pipeline syntax to several execution plan.

Parameters:plan (List[List[str, str]]) – [(can_id1, env_tag1), (can_id2, env_tag2), …]
Return type:List[Tuple[List[str], str]]]
class troposphere_mate.core.orch_core.ResourceFilter(ignored_stack_id_list, allowed_stack_id_list)[source]

Construct a Resource Filter Class to decide if a specific AWS Resource should be ignored or not.

  1. Explicit Deny
  2. Explicit Allow
  3. Default Deny
filter(resource, template)[source]

Check if we want to keep this resource in the cloudformation. If True, we keep it. if False we call Template.remove_resource(resource) to remove it,

Return type:bool