rancher2_machine_config_v2Nivis Nix constructor for the rancher2_machine_config_v2 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,
generate_name,
annotations ? null,
fleet_namespace ? null,
id ? null,
labels ? null,
amazonec2_config ? null,
azure_config ? null,
digitalocean_config ? null,
google_config ? null,
harvester_config ? null,
linode_config ? null,
nutanix_config ? null,
openstack_config ? null,
timeouts ? null,
vsphere_config ? null,
overrides ? {}
}Required arguments
generate_name
Optional arguments
annotations(defaults tonull)fleet_namespace(defaults tonull)id(defaults tonull)labels(defaults tonull)amazonec2_config(defaults tonull)azure_config(defaults tonull)digitalocean_config(defaults tonull)google_config(defaults tonull)harvester_config(defaults tonull)linode_config(defaults tonull)nutanix_config(defaults tonull)openstack_config(defaults tonull)timeouts(defaults tonull)vsphere_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
kindnameresource_version
Example
rancher2_machine_config_v2 {
name = "machine_config_v2";
generate_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.