aiven_pg_databaseNivis 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_nameprojectservice_name
Optional arguments
lc_collate(defaults tonull)lc_ctype(defaults tonull)termination_protection(defaults tonull)timeouts(defaults tonull)
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.