diff --git a/products/cloudbuild/api.yaml b/products/cloudbuild/api.yaml index be5918053f7f..da65b378f939 100644 --- a/products/cloudbuild/api.yaml +++ b/products/cloudbuild/api.yaml @@ -109,6 +109,7 @@ objects: Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. + required: true properties: - !ruby/object:Api::Type::String name: 'projectId' diff --git a/products/cloudbuild/terraform.yaml b/products/cloudbuild/terraform.yaml index 5503ae1c45eb..132d5a7ee1f5 100644 --- a/products/cloudbuild/terraform.yaml +++ b/products/cloudbuild/terraform.yaml @@ -28,9 +28,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides name: 'trigger_id' build.steps: !ruby/object:Overrides::Terraform::PropertyOverride name: 'step' - triggerTemplate: !ruby/object:Overrides::Terraform::PropertyOverride - description: | - {{description}}This field is required, and will be validated as such in 3.0.0. triggerTemplate.projectId: !ruby/object:Overrides::Terraform::PropertyOverride default_from_api: true custom_code: !ruby/object:Provider::Terraform::CustomCode