stackit_mongodbflex_instance

Nivis Nix constructor for the stackit_mongodbflex_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,
  acl,
  backup_schedule,
  flavor,
  options,
  project_id,
  replicas,
  storage,
  version,
  cfg_name ? null,
  region ? null,
  overrides ? {}
}
Required arguments
  • acl
  • backup_schedule
  • flavor
  • options
  • project_id
  • replicas
  • storage
  • version
Optional arguments
  • cfg_name (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • instance_id
Example
stackit_mongodbflex_instance {
  name = "mongodbflex_instance";
  acl = …;  # required
  backup_schedule = …;  # required
  flavor = …;  # required
  options = …;  # required
  project_id = …;  # required
  replicas = …;  # required
  storage = …;  # required
  version = …;  # required
}

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