diff --git a/builtin/logical/aws/secret_access_keys.go b/builtin/logical/aws/secret_access_keys.go index 1081a6319..81a828a31 100644 --- a/builtin/logical/aws/secret_access_keys.go +++ b/builtin/logical/aws/secret_access_keys.go @@ -185,7 +185,7 @@ func (b *backend) secretAccessKeysCreate( UserName: aws.String(username), }) if err != nil { - if walErr := framework.DeleteWAL(ctx, s, walId); walErr != nil { + if walErr := framework.DeleteWAL(ctx, s, walID); walErr != nil { iamErr := errwrap.Wrapf("error creating IAM user: {{err}}", err) return nil, errwrap.Wrap(errwrap.Wrapf("failed to delete WAL entry: {{err}}", walErr), iamErr) }