Skip to content

Commit b877469

Browse files
authored
github_repository_file - Fix creation crash (#732)
1 parent 2cb5135 commit b877469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/resource_github_repository_file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func resourceGithubRepositoryFileCreate(d *schema.ResourceData, meta interface{}
204204
}
205205

206206
d.SetId(fmt.Sprintf("%s/%s", repo, file))
207-
d.Set("commit", create.Commit.GetSHA())
207+
d.Set("commit_sha", create.Commit.GetSHA())
208208

209209
return resourceGithubRepositoryFileRead(d, meta)
210210
}

0 commit comments

Comments
 (0)