To get more information about Cloudbuild Trigger, see:
data "google_cloudbuild_trigger" "name" {
project = "your-project-id"
trigger_id = google_cloudbuild_trigger.filename-trigger.trigger_id
location = "location of trigger build"
}
The following arguments are supported:
project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
trigger_id
- (Required) The unique identifier for the trigger..
location
- (Required) The Cloud Build location for the trigger.
See google_cloudbuild_trigger resource for details of the available attributes.