diff --git a/sceptre/cli/launch.py b/sceptre/cli/launch.py index 637fe5f56..896b696a6 100644 --- a/sceptre/cli/launch.py +++ b/sceptre/cli/launch.py @@ -92,12 +92,27 @@ def print_operations(self, prune: bool): dependencies = "" for stack in deploy_plan: - if stack.ignore or stack.obsolete: - dependencies += "{}{} **skipped{}\n".format(Fore.LIGHTWHITE_EX, stack.name, Style.RESET_ALL) + if stack.ignore or (stack.obsolete and not prune): + dependencies += "{}Skip:\t{}{}\n".format( + Fore.LIGHTWHITE_EX, + stack.name, + Style.RESET_ALL, + ) + elif stack.obsolete and prune: + dependencies += "{}Delete:\t{}{}\n".format( + Fore.RED, + stack.name, + Style.RESET_ALL, + ) else: - dependencies += "{}{}{}\n".format(Fore.YELLOW, stack.name, Style.RESET_ALL) + dependencies += "{}Deploy:\t{}{}\n".format( + Fore.YELLOW, + stack.name, + Style.RESET_ALL, + ) - print(f"The following stacks, in the following order, will be deployed:\n{dependencies}") + print(f"The following operations will occur, in the following order:") + print(dependencies) def launch(self, prune: bool) -> int: deploy_plan = self._create_deploy_plan()