Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • kubernetes_marketplace_helm_release

В этой статье:

  • Example usage
  • Arguments & Attributes Reference
  • Import
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Kubernetes Marketplace
  4. Resources
  5. kubernetes_marketplace_helm_release

yandex_kubernetes_marketplace_helm_release (Resource)

Статья создана
Yandex Cloud
Обновлена 9 апреля 2026 г.
Открыть Markdown
  • Example usage
  • Arguments & Attributes Reference
  • Import

Allows management of Kubernetes product installed from Yandex Cloud Marketplace.
For more information, see official documentation.

Example usageExample usage

//
// Create a new Kubernetes Marketplace Helm Release.
//
resource "yandex_kubernetes_marketplace_helm_release" "gwin_helm_release" {
  cluster_id = yandex_kubernetes_cluster.cluster_resource_name.id

  product_version = "f2e04077v04sobds7gkt" // Gwin v1.1.0

  name      = "gwin"
  namespace = kubernetes_namespace.namespace_resource_name.metadata[0].name

  user_values = {
    "controller.folderId" = yandex_resourcemanager_folder.folder_resource_name.id
    "controller.ycServiceAccount.workloadIdentityFederation.serviceAccountID" = yandex_iam_service_account.service_account_resource_name.id
    "controller.defaultBalancerSubnets" = yamlencode([
      yandex_vpc_subnet.subnet_resource_name_1.id,
      yandex_vpc_subnet.subnet_resource_name_2.id
    ])
  }
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • cluster_id (Required)(String). The ID of the Kubernetes cluster where the product will be installed.
  • created_at (Read-Only) (String). The Helm Release creation (first installation) timestamp.
  • id (Read-Only) (String). The resource identifier.
  • name (Required)(String). The name of the deployment.
  • namespace (Required)(String). The Kubernetes namespace where the product will be installed.
  • product_id (Read-Only) (String). The ID of the Marketplace product.
  • product_name (Read-Only) (String). The name of the Marketplace product.
  • product_version (Required)(String). The ID of the product version to be installed.
  • status (Read-Only) (String). Status of the deployment.
  • user_values (Map Of String). Values to be passed for the installation of the product. The block consists of attributes that accept string values. For complex objects and lists, use yamlencode() function to properly encode the values (see example above with defaultBalancerSubnets). The exact structure depends on the particular product and may differ for different versions of the same product. Depending on the product, some values may be required, and the installation may fail if they are not provided.

applicationName and namespace, if provided in this block, override name and namespace arguments, respectively.

  • timeouts [Block].
    • create (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    • delete (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    • update (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

ImportImport

The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console or Yandex Cloud CLI.

# terraform import yandex_kubernetes_marketplace_helm_release.<resource Name> <resource Id>
terraform import yandex_kubernetes_marketplace_helm_release.default ...

Была ли статья полезна?

Предыдущая
kms_symmetric_key_iam_member
Следующая
lockbox_secret
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»