From c3e6eb22d82e03eb1d3fc4e204ab813d516f3ae8 Mon Sep 17 00:00:00 2001 From: Jared Baker Date: Tue, 24 Oct 2023 14:19:55 -0400 Subject: [PATCH] feat: add newlines to improve diag readability --- aws_config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws_config.go b/aws_config.go index 70ee3f9a..d3de208b 100644 --- a/aws_config.go +++ b/aws_config.go @@ -249,8 +249,8 @@ func GetAwsAccountIDAndPartition(ctx context.Context, awsConfig aws.Config, c *C } return "", "", diags.AddSimpleError(fmt.Errorf( - "AWS account ID not previously found and failed retrieving via all available methods. "+ - "See https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id for workaround and implications. "+ + "AWS account ID not previously found and failed retrieving via all available methods.\n\n"+ + "See https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id for workaround and implications.\n"+ "Errors: %w", err)) }