ibm_function_package

Import the details of an existing IBM Cloud Functions package 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_package" "package" {
  name = "package_name"
}

Argument Reference

The following arguments are supported:

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

Attributes Reference

The following attributes are exported:

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