googleCloudbuildTrigger
To get more information about Cloudbuild Trigger, see:
- API documentation
- How-to Guides
- Official Documentation
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleCloudbuildTrigger.DataGoogleCloudbuildTrigger(
this,
"name",
{
location: "location of trigger build",
project: "your-project-id",
trigger_id: "${google_cloudbuild_trigger.filename-trigger.trigger_id}",
}
);
Argument Reference
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. -
triggerId
- (Required) The unique identifier for the trigger.. -
location
- (Required) The Cloud Build location for the trigger.
Attributes Reference
See google_cloudbuild_trigger resource for details of the available attributes.