diff --git a/bitbucket/resource_repository.go b/bitbucket/resource_repository.go index 1f69c14..6fc291f 100644 --- a/bitbucket/resource_repository.go +++ b/bitbucket/resource_repository.go @@ -208,7 +208,7 @@ func createNewRepositoryFromFork(client *BitbucketClient, d *schema.ResourceData requestBody := &RepositoryFork{ Name: repository, Project: RepositoryForkProject{ - Key: forkProject, + Key: project, }, }