rancher2_tokenNivis Nix constructor for the rancher2_token resource (provider rancher2). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
annotations ? null,
cluster_id ? null,
description ? null,
id ? null,
labels ? null,
renew ? null,
ttl ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
annotations(defaults tonull)cluster_id(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)renew(defaults tonull)ttl(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
access_keyenabledexpirednamesecret_keytokenuser_id
Example
rancher2_token {
name = "token";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.