Skip to content

Commit

Permalink
resource/aws_api_gateway_account: Update error message wording to ref…
Browse files Browse the repository at this point in the history
…lect change in AWS API (#11735)

Output from acceptance testing:

```
--- PASS: TestAccAWSAPIGatewayAccount_basic (96.49s)
```
  • Loading branch information
finferflu authored and bflad committed Jan 23, 2020
1 parent b9b9d85 commit 2d12be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_api_gateway_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d12be9

Please sign in to comment.