consul_autopilot_configNivis Nix constructor for the consul_autopilot_config resource (provider consul). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
cleanup_dead_servers ? null,
datacenter ? null,
disable_upgrade_migration ? null,
id ? null,
last_contact_threshold ? null,
max_trailing_logs ? null,
redundancy_zone_tag ? null,
server_stabilization_time ? null,
upgrade_version_tag ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
cleanup_dead_servers(defaults tonull)datacenter(defaults tonull)disable_upgrade_migration(defaults tonull)id(defaults tonull)last_contact_threshold(defaults tonull)max_trailing_logs(defaults tonull)redundancy_zone_tag(defaults tonull)server_stabilization_time(defaults tonull)upgrade_version_tag(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
consul_autopilot_config {
name = "autopilot_config";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.