mark trigger_template.project computed since we set it to getProject (#2655)

This commit is contained in:
The Magician 2018-12-17 12:46:58 -08:00 committed by Nathan McKinley
parent afc340e93e
commit 7f93bf73a4
2 changed files with 1 additions and 1 deletions

View File

@ -122,6 +122,7 @@ func resourceCloudBuildTrigger() *schema.Resource {
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"repo_name": {
Type: schema.TypeString,

View File

@ -298,7 +298,6 @@ resource "google_cloudbuild_trigger" "filename_build_trigger" {
description = "acceptance test build trigger"
trigger_template {
branch_name = "master"
project = "${google_project_services.acceptance.project}"
repo_name = "some-repo"
}
substitutions {