rancher2_certificateNivis Nix constructor for the rancher2_certificate 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,
certs,
key,
project_id,
annotations ? null,
description ? null,
id ? null,
labels ? null,
cfg_name ? null,
namespace_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
certskeyproject_id
Optional arguments
annotations(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)namespace_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
rancher2_certificate {
name = "certificate";
certs = …; # required
key = …; # required
project_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.