tencentcloud_postgresql_instance_ha_config

Nivis 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_id
  • max_standby_lag
  • max_standby_latency
  • sync_mode
Optional arguments
  • id (defaults to null)
  • max_sync_standby_lag (defaults to null)
  • max_sync_standby_latency (defaults to null)
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.