ionoscloud_mongo_cluster

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

Constructor
{
  name,
  display_name,
  instances,
  location,
  mongodb_version,
  cores ? null,
  edition ? null,
  id ? null,
  ram ? null,
  shards ? null,
  storage_size ? null,
  storage_type ? null,
  template_id ? null,
  type ? null,
  backup ? null,
  bi_connector ? null,
  connections ? null,
  maintenance_window ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • display_name
  • instances
  • location
  • mongodb_version
Optional arguments
  • cores (defaults to null)
  • edition (defaults to null)
  • id (defaults to null)
  • ram (defaults to null)
  • shards (defaults to null)
  • storage_size (defaults to null)
  • storage_type (defaults to null)
  • template_id (defaults to null)
  • type (defaults to null)
  • backup (defaults to null)
  • bi_connector (defaults to null)
  • connections (defaults to null)
  • maintenance_window (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_string
Example
ionoscloud_mongo_cluster {
  name = "mongo_cluster";
  display_name = …;  # required
  instances = …;  # required
  location = …;  # required
  mongodb_version = …;  # required
}

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