streamtime_package (Resource)

A chart or image version in the package catalog, with how Streamtime treats it. Managing the catalog needs the catalog permission, normally held by the root organization.

Example Usage

resource "streamtime_package" "kafka" {
  registry_url   = "https://charts.example.com"
  repository     = "kafka"
  tag            = "31.0.0"
  support_status = "supported"
}

Schema

Required

  • registry_url (String) The registry or chart repository address. Changing it creates a new package.
  • repository (String) The repository name. Changing it creates a new package.
  • tag (String) The version tag. Changing it creates a new package.

Optional

  • artifact_type (String) What the package is: container_image, helm_chart or oci_artifact.
  • default_values (String) The package’s default chart values, set with jsonencode({…}).
  • preferred_registry (String) The registry to pull the package from when more than one holds it.
  • support_notes (String) Notes for people choosing a version.
  • support_status (String) How Streamtime treats the version: active, supported, deprecated, latest or preview.
  • template_values (String) Chart values applied for this package, set with jsonencode({…}).
  • values_schema (String) A JSON schema for the chart values, set with jsonencode({…}).

Read-Only

  • id (String) ID of the package. Use it to import an existing one.
  • identifier (String) The package ID Streamtime assigns. Use it to import an existing package.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# Import by the package ID.
terraform import streamtime_package.kafka kafka-31.0.0