Skip to content

Commit

Permalink
resource/aws_iam_user: Add missing return resource.NonRetryableError(…
Browse files Browse the repository at this point in the history
…err) from DeleteLoginProfile
  • Loading branch information
bflad committed Apr 11, 2018
1 parent 4cfeabf commit a77e828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/resource_aws_iam_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ func resourceAwsIamUserDelete(d *schema.ResourceData, meta interface{}) error {
if isAWSErr(err, iam.ErrCodeEntityTemporarilyUnmodifiableException, "") {
return resource.RetryableError(err)
}
return resource.NonRetryableError(err)
}
return nil
})
Expand Down

0 comments on commit a77e828

Please sign in to comment.