diff --git a/plugins/modules/data_pipeline.py b/plugins/modules/data_pipeline.py index 4874388c733..a3821a068d8 100644 --- a/plugins/modules/data_pipeline.py +++ b/plugins/modules/data_pipeline.py @@ -254,7 +254,7 @@ def pipeline_description(client, dp_id): """ try: return client.describe_pipelines(pipelineIds=[dp_id]) - except is_boto3_error_code('PipelineNotFoundException', 'PipelineDeletedException'): + except is_boto3_error_code(['PipelineNotFoundException', 'PipelineDeletedException']): raise DataPipelineNotFound