-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(typo): fixes typo in "awiting for Lambda Function" message #40862
base: main
Are you sure you want to change the base?
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @nicolaschambrier 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
@@ -597,11 +597,11 @@ func resourceFunctionCreate(ctx context.Context, d *schema.ResourceData, meta in | |||
}) | |||
|
|||
if err != nil { | |||
return sdkdiag.AppendErrorf(diags, "awiting for Lambda Function (%s) create: %s", d.Id(), err) | |||
return sdkdiag.AppendErrorf(diags, "awaiting for Lambda Function (%s) create: %s", d.Id(), err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return sdkdiag.AppendErrorf(diags, "awaiting for Lambda Function (%s) create: %s", d.Id(), err) | |
return sdkdiag.AppendErrorf(diags, "waiting for Lambda Function (%s) create: %s", d.Id(), err) |
We usually use waiting for ... in such error messages.
} | ||
|
||
if _, err := waitFunctionCreated(ctx, conn, d.Id(), d.Timeout(schema.TimeoutCreate)); err != nil { | ||
return sdkdiag.AppendErrorf(diags, "awiting for Lambda Function (%s) create: %s", d.Id(), err) | ||
return sdkdiag.AppendErrorf(diags, "awaiting for Lambda Function (%s) create: %s", d.Id(), err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return sdkdiag.AppendErrorf(diags, "awaiting for Lambda Function (%s) create: %s", d.Id(), err) | |
return sdkdiag.AppendErrorf(diags, "waiting for Lambda Function (%s) create: %s", d.Id(), err) |
Description
This fixes a small typo in error messages: