tencentcloud_postgresql_instance

Nivis Nix constructor for the tencentcloud_postgresql_instance 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,
  availability_zone,
  memory,
  root_password,
  storage,
  subnet_id,
  vpc_id,
  auto_renew_flag ? null,
  auto_voucher ? null,
  charge_type ? null,
  charset ? null,
  cpu ? null,
  db_kernel_version ? null,
  db_major_version ? null,
  db_major_vesion ? null,
  delete_protection ? null,
  engine_version ? null,
  id ? null,
  kms_cluster_id ? null,
  kms_key_id ? null,
  kms_region ? null,
  max_standby_archive_delay ? null,
  max_standby_streaming_delay ? null,
  cfg_name ? null,
  need_support_tde ? null,
  period ? null,
  project_id ? null,
  public_access_switch ? null,
  root_user ? null,
  security_groups ? null,
  storage_type ? null,
  tags ? null,
  voucher_ids ? null,
  wait_switch ? null,
  backup_plan ? null,
  db_node_set ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • availability_zone
  • memory
  • root_password
  • storage
  • subnet_id
  • vpc_id
Optional arguments
  • auto_renew_flag (defaults to null)
  • auto_voucher (defaults to null)
  • charge_type (defaults to null)
  • charset (defaults to null)
  • cpu (defaults to null)
  • db_kernel_version (defaults to null)
  • db_major_version (defaults to null)
  • db_major_vesion (defaults to null)
  • delete_protection (defaults to null)
  • engine_version (defaults to null)
  • id (defaults to null)
  • kms_cluster_id (defaults to null)
  • kms_key_id (defaults to null)
  • kms_region (defaults to null)
  • max_standby_archive_delay (defaults to null)
  • max_standby_streaming_delay (defaults to null)
  • cfg_name (defaults to null)
  • need_support_tde (defaults to null)
  • period (defaults to null)
  • project_id (defaults to null)
  • public_access_switch (defaults to null)
  • root_user (defaults to null)
  • security_groups (defaults to null)
  • storage_type (defaults to null)
  • tags (defaults to null)
  • voucher_ids (defaults to null)
  • wait_switch (defaults to null)
  • backup_plan (defaults to null)
  • db_node_set (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • private_access_ip
  • private_access_port
  • public_access_host
  • public_access_port
  • uid
Example
tencentcloud_postgresql_instance {
  name = "postgresql_instance";
  availability_zone = …;  # required
  memory = …;  # required
  root_password = …;  # required
  storage = …;  # required
  subnet_id = …;  # required
  vpc_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.