I am setting up a terraform plan in order to create a cloud build trigger in the google cloud provider. However the steps outlined in the terraform documentation are for public git repositories. When I tried hooking up a private bitbucket repository I got a "repo not found" error.
resource "google_cloudbuild_trigger" "cloudbuild-trigger" {
trigger_template {
branch_name = "staging"
repo_name = "BITBUCKET_TEAM_NAME/repo_name"
dir = "site_dir"
}
filename = "cloudbuild.yml"
}