diff --git a/src/tirith/providers/terraform_plan/handler.py b/src/tirith/providers/terraform_plan/handler.py index 3b7a316..4bedafb 100644 --- a/src/tirith/providers/terraform_plan/handler.py +++ b/src/tirith/providers/terraform_plan/handler.py @@ -204,7 +204,7 @@ def provider_config_operator(input_data: dict, provider_inputs: dict, outputs: l outputs.append( { "value": ProviderError(severity_value=99), - "err": "`terraform_provider_full_name` must be provided in the provider input (severity_value: 99))", + "err": "`terraform_provider_full_name` must be provided in the provider input (severity_value: 99)", } ) return @@ -274,7 +274,7 @@ def direct_dependencies_operator(input_data: dict, provider_inputs: dict, output outputs.append( { "value": ProviderError(severity_value=99), - "err": "`terraform_resource_type` must be provided in the provider input (severity_value: 99))", + "err": "`terraform_resource_type` must be provided in the provider input (severity_value: 99)", } ) return @@ -453,7 +453,7 @@ def direct_references_operator(input_data: dict, provider_inputs: dict, outputs: outputs.append( { "value": ProviderError(severity_value=99), - "err": "Only one of `referenced_by` or `references_to` must be provided in the provider input (severity_value: 99))", + "err": "Only one of `referenced_by` or `references_to` must be provided in the provider input (severity_value: 99)", } ) return @@ -471,7 +471,7 @@ def direct_references_operator(input_data: dict, provider_inputs: dict, outputs: outputs.append( { "value": ProviderError(severity_value=99), - "err": "`terraform_resource_type` must be provided in the provider input (severity_value: 99))", + "err": "`terraform_resource_type` must be provided in the provider input (severity_value: 99)", } ) return diff --git a/tests/providers/terraform_plan/test_direct_references.py b/tests/providers/terraform_plan/test_direct_references.py index 293d63a..81a1c3c 100644 --- a/tests/providers/terraform_plan/test_direct_references.py +++ b/tests/providers/terraform_plan/test_direct_references.py @@ -79,7 +79,7 @@ def test_direct_references_to_and_by_should_raise_error(): "Only one of `referenced_by` or " "`references_to` must be provided in " "the provider input (severity_value: " - "99))" + "99)" )