aiven_pg_database

Nivis Nix constructor for the aiven_pg_database resource (provider aiven). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  database_name,
  project,
  service_name,
  lc_collate ? null,
  lc_ctype ? null,
  termination_protection ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • database_name
  • project
  • service_name
Optional arguments
  • lc_collate (defaults to null)
  • lc_ctype (defaults to null)
  • termination_protection (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
aiven_pg_database {
  name = "pg_database";
  database_name = …;  # required
  project = …;  # required
  service_name = …;  # required
}

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