ionoscloud_mongo_cluster_v2

Nivis Nix constructor for the ionoscloud_mongo_cluster_v2 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,
  connections,
  credentials,
  edition,
  location,
  maintenance_window,
  snapshot,
  version,
  description ? null,
  instance_count ? null,
  instance_template_id ? null,
  instances ? null,
  logs_enabled ? null,
  metrics_enabled ? null,
  cfg_name ? null,
  restore_from_snapshot ? null,
  sharding ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • connections
  • credentials
  • edition
  • location
  • maintenance_window
  • snapshot
  • version
Optional arguments
  • description (defaults to null)
  • instance_count (defaults to null)
  • instance_template_id (defaults to null)
  • instances (defaults to null)
  • logs_enabled (defaults to null)
  • metrics_enabled (defaults to null)
  • cfg_name (defaults to null)
  • restore_from_snapshot (defaults to null)
  • sharding (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_uri
  • id
Example
ionoscloud_mongo_cluster_v2 {
  name = "mongo_cluster_v2";
  connections = …;  # required
  credentials = …;  # required
  edition = …;  # required
  location = …;  # required
  maintenance_window = …;  # required
  snapshot = …;  # required
  version = …;  # required
}

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