data_source_component_bundle

Generates a component bundle including data processing, packaging, and generating signatures.

Example Usage#

data "prismatic_component_bundle" "bundle" {
bundle_directory = "${path.module}/../components/example-component/dist/"
bundle_path = "${path.module}/../components/bundles/example-component.zip"
}

Argument Reference#

  • bundle_directory - (Required) The directory containing a compiled Prismatic component.
  • bundle_path - (Required) The destination path for the component package.

Attributes Reference#

In addition to the arguments above, the following attributes are exported:

  • id - Timestamp of last read of this data source.
  • signature - The computed hash signature of the component package.