From a8897336f281e46e95563e4936aabdfcb05c3750 Mon Sep 17 00:00:00 2001 From: Preslav Gerchev Date: Wed, 7 Aug 2024 14:18:26 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Log=20out=20integration=20MRN=20?= =?UTF-8?q?when=20AWS=20integration=20deletion=20fails.=20(#128)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Preslav --- internal/provider/integration_aws_serverless_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/integration_aws_serverless_resource.go b/internal/provider/integration_aws_serverless_resource.go index 0af63bf..5116bbd 100644 --- a/internal/provider/integration_aws_serverless_resource.go +++ b/internal/provider/integration_aws_serverless_resource.go @@ -436,7 +436,7 @@ func (r *integrationAwsServerlessResource) Delete(ctx context.Context, req resou _, err := r.client.DeleteIntegration(ctx, data.Mrn.ValueString()) if err != nil { - resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Unable to delete AWS serverless integration, got error: %s", err)) + resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Unable to delete AWS serverless integration '%s', got error: %s", data.Mrn.ValueString(), err.Error())) return } }