ibm_function_trigger

Import the details of an existing IBM Cloud Functions trigger as a read-only data source. The fields of the data source can then be referenced by other resources within the same configuration using interpolation syntax.

Example Usage

data "ibm_function_trigger" "trigger" {
            name = "trigger-name"         
}

Argument Reference

The following arguments are supported:

  • name - (Required, string) The name of the trigger.

Attributes Reference

The following attributes are exported:

  • id - The ID of the trigger.
  • publish - Trigger visibility.
  • version - Semantic version of the trigger.
  • annotations - All annotations to describe the trigger, including those set by you or by IBM Cloud Functions.
  • parameters - All parameters passed to the trigger, including those set by you or by IBM Cloud Functions.