stackit_postgresflex_instance

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

Constructor
{
  name,
  backup_schedule,
  project_id,
  storage,
  version,
  acl ? null,
  encryption ? null,
  flavor ? null,
  flavor_id ? null,
  cfg_name ? null,
  network ? null,
  region ? null,
  replicas ? null,
  retention_days ? null,
  overrides ? {}
}
Required arguments
  • backup_schedule
  • project_id
  • storage
  • version
Optional arguments
  • acl (defaults to null)
  • encryption (defaults to null)
  • flavor (defaults to null)
  • flavor_id (defaults to null)
  • cfg_name (defaults to null)
  • network (defaults to null)
  • region (defaults to null)
  • replicas (defaults to null)
  • retention_days (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_info
  • id
  • instance_id
Example
stackit_postgresflex_instance {
  name = "postgresflex_instance";
  backup_schedule = …;  # required
  project_id = …;  # required
  storage = …;  # required
  version = …;  # required
}

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