| page_title | cozystack_tenant_module Resource - cozystack |
|---|---|
| subcategory | |
| description | A Cozystack TenantModule (marker; its existence by name enables the module in the tenant). |
A Cozystack TenantModule (marker; its existence by name enables the module in the tenant).
# A marker resource: its existence enables the module in the tenant.
resource "cozystack_tenant_module" "etcd" {
name = "etcd"
namespace = "tenant-root"
}name(String) TenantModule name (the module, e.g.etcd). Immutable.namespace(String) Tenant namespace the application is created in. Immutable.
wait_for_ready(Boolean) Block on create/update until theReadycondition is true and any server-generated outputs the resource exposes are readable.wait_timeout(String) Maximum time to wait whenwait_for_readyis 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.
chart_version(String) Deployed chart version (status.version).id(String) Synthetic identifier in the formnamespace/name.ready(Boolean) Whether the application'sReadycondition is true.uid(String) Server-assigned object UID (metadata.uid). Stable across updates; changes on recreate.
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