diff --git a/cloudbender/stack.py b/cloudbender/stack.py index 5bdce66..59f507d 100644 --- a/cloudbender/stack.py +++ b/cloudbender/stack.py @@ -877,7 +877,6 @@ class Stack(object): return kwargs def _log_pulumi(self, text): - # Remove some duplicated noise - text = re.sub('pulumi:pulumi:Stack {}-{}( running)?'.format(self.parameters['Conglomerate'], self.stackname), '', text) - if text: + text = re.sub(r'pulumi:pulumi:Stack\s*{}-{}\s*'.format(self.parameters['Conglomerate'], self.stackname), '', text) + if text and not text.isspace(): logger.info(" ".join([self.region, self.stackname, text]))