tencentcloud_postgresql_instance_ha_configNivis Nix constructor for the tencentcloud_postgresql_instance_ha_config resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
instance_id,
max_standby_lag,
max_standby_latency,
sync_mode,
id ? null,
max_sync_standby_lag ? null,
max_sync_standby_latency ? null,
overrides ? {}
}Required arguments
instance_idmax_standby_lagmax_standby_latencysync_mode
Optional arguments
id(defaults tonull)max_sync_standby_lag(defaults tonull)max_sync_standby_latency(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
tencentcloud_postgresql_instance_ha_config {
name = "postgresql_instance_ha_config";
instance_id = …; # required
max_standby_lag = …; # required
max_standby_latency = …; # required
sync_mode = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.