Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.78 KB

tenant_module.md

File metadata and controls

51 lines (36 loc) · 1.78 KB
page_title cozystack_tenant_module Resource - cozystack
subcategory
description A Cozystack TenantModule (marker; its existence by name enables the module in the tenant).

cozystack_tenant_module (Resource)

A Cozystack TenantModule (marker; its existence by name enables the module in the tenant).

Example Usage

# A marker resource: its existence enables the module in the tenant.
resource "cozystack_tenant_module" "etcd" {
  name      = "etcd"
  namespace = "tenant-root"
}

Schema

Required

  • name (String) TenantModule name (the module, e.g. etcd). Immutable.
  • namespace (String) Tenant namespace the application is created in. Immutable.

Optional

  • wait_for_ready (Boolean) Block on create/update until the Ready condition is true and any server-generated outputs the resource exposes are readable.
  • wait_timeout (String) Maximum time to wait when wait_for_ready is set (Go duration, e.g. 10m). Readiness and outputs share this budget; outputs that never appear leave a warning and their attributes stay null until the next refresh.

Read-Only

  • chart_version (String) Deployed chart version (status.version).
  • id (String) Synthetic identifier in the form namespace/name.
  • ready (Boolean) Whether the application's Ready condition is true.
  • uid (String) Server-assigned object UID (metadata.uid). Stable across updates; changes on recreate.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import cozystack_tenant_module.example tenant-root/name