eventarc library

Eventarc triggers — fan out Google Cloud events (Storage object writes, Pub/Sub publishes, Audit Log entries, etc.) to Cloud Run services, Cloud Run functions, Workflows, GKE pods, or arbitrary HTTP endpoints.

Single-resource barrel today (GoogleEventarcTrigger); future waves may add eventarc_channel (Advanced edition) and similar siblings.

Classes

EventarcTriggerCloudRunService
destination.cloud_run_service block.
EventarcTriggerDestination
destination block. Selects the workload that receives matched CloudEvents. Exactly ONE of cloudRunService / cloudFunction / workflow / httpEndpoint / gke must be set -- they are mutually exclusive at the GCP API level and the provider validates this before plan/apply.
EventarcTriggerGkeService
destination.gke block. GKE service in the same project as the trigger.
EventarcTriggerHttpEndpoint
destination.http_endpoint block. Only HTTP and HTTPS protocols are supported. The host can be either a static IP reachable from the VPC declared in EventarcTriggerDestination.networkConfig, or an internal DNS hostname resolvable via Cloud DNS.
EventarcTriggerMatchingCriteria
One matching_criteria entry. The full list of entries is AND-ed -- only events matching every filter are delivered. The schema models this as a set of blocks; the wrapper still accepts a List<EventarcTriggerMatchingCriteria> -- duplicates are deduped by the Terraform engine on apply.
EventarcTriggerNetworkConfig
destination.network_config block. Configures how Eventarc resolves and connects to the destination. ONLY valid when EventarcTriggerDestination.httpEndpoint is set.
EventarcTriggerPubsubTransport
transport.pubsub block.
EventarcTriggerRetryPolicy
retry_policy block. Configures delivery retry behavior for the trigger. Per the schema, this block is ONLY valid when destination targets a Cloud Run service (EventarcTriggerDestination.cloudRunService); setting it for any other destination is rejected by the provider.
EventarcTriggerTransport
transport block. Optional reference to the GCP product Eventarc uses as the delivery intermediary. Today the only supported transport is Pub/Sub via pubsub; future transports may be added by the API without breaking this block (additional sub-blocks would map to new nullable fields).
GoogleEventarcTrigger
Factory wrapper for google_eventarc_trigger (provider hashicorp/google ~> 7.0).