diff --git a/github/resource_github_repository_file.go b/github/resource_github_repository_file.go index ec38c53de2..1203f3a018 100644 --- a/github/resource_github_repository_file.go +++ b/github/resource_github_repository_file.go @@ -204,7 +204,7 @@ func resourceGithubRepositoryFileCreate(d *schema.ResourceData, meta interface{} } d.SetId(fmt.Sprintf("%s/%s", repo, file)) - d.Set("commit", create.Commit.GetSHA()) + d.Set("commit_sha", create.Commit.GetSHA()) return resourceGithubRepositoryFileRead(d, meta) }