From 2d12be996192eb9c017af3fdb85f21031bc1c281 Mon Sep 17 00:00:00 2001 From: finferflu Date: Thu, 23 Jan 2020 16:35:14 +0000 Subject: [PATCH] resource/aws_api_gateway_account: Update error message wording to reflect change in AWS API (#11735) Output from acceptance testing: ``` --- PASS: TestAccAWSAPIGatewayAccount_basic (96.49s) ``` --- aws/resource_aws_api_gateway_account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_api_gateway_account.go b/aws/resource_aws_api_gateway_account.go index df302741d3f..a7587d710c8 100644 --- a/aws/resource_aws_api_gateway_account.go +++ b/aws/resource_aws_api_gateway_account.go @@ -93,7 +93,7 @@ func resourceAwsApiGatewayAccountUpdate(d *schema.ResourceData, meta interface{} log.Printf("[INFO] Updating API Gateway Account: %s", input) // Retry due to eventual consistency of IAM - expectedErrMsg := "The role ARN does not have required permissions set to API Gateway" + expectedErrMsg := "The role ARN does not have required permissions" otherErrMsg := "API Gateway could not successfully write to CloudWatch Logs using the ARN specified" var out *apigateway.Account var err error