ionoscloud_mongo_cluster_v2Nivis 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
connectionscredentialseditionlocationmaintenance_windowsnapshotversion
Optional arguments
description(defaults tonull)instance_count(defaults tonull)instance_template_id(defaults tonull)instances(defaults tonull)logs_enabled(defaults tonull)metrics_enabled(defaults tonull)cfg_name(defaults tonull)restore_from_snapshot(defaults tonull)sharding(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
connection_uriid
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.