diff --git a/website/docs/r/codebuild_webhook.html.markdown b/website/docs/r/codebuild_webhook.html.markdown
index a32a049c253..b7650321378 100644
--- a/website/docs/r/codebuild_webhook.html.markdown
+++ b/website/docs/r/codebuild_webhook.html.markdown
@@ -22,7 +22,7 @@ When working with [GitHub](https://github.com) source CodeBuild webhooks, the Co
```hcl
resource "aws_codebuild_webhook" "example" {
- name = "${aws_codebuild_project.example.name}"
+ project_name = "${aws_codebuild_project.example.name}"
}
```