1. Registry
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. ClusterAdaptiveSettings
Viewing docs for MongoDB Atlas v4.17.0
published on Thursday, Oct 1, 2026 by Pulumi
mongodbatlas logo mongodbatlas logo
Viewing docs for MongoDB Atlas v4.17.0
published on Thursday, Oct 1, 2026 by Pulumi

    mongodbatlas.ClusterAdaptiveSettings provides a resource for managing Adaptive Settings overrides for one MongoDB Atlas cluster.

    NOTE: Set adaptiveSettingsOverrides with jsonencode. See Intelligent Workload Management for the current list of supported keys. If omitted on create, no overrides are modified. If set to {} or removed after being set, all overrides are reset. The configured map replaces the entire override map in Atlas, so removing a key resets that override. Destroying this resource resets all overrides to Atlas-managed defaults, including any set outside this resource. The cluster itself is not deleted. Manage Adaptive Settings for a cluster with only one mongodbatlas.ClusterAdaptiveSettings resource. If multiple resources target the same cluster, each resource can overwrite the others, causing Terraform to repeatedly report and reapply changes.

    Example Usage

    S

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    // Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
    const thisClusterAdaptiveSettings = new mongodbatlas.ClusterAdaptiveSettings("this", {
        projectId: projectId,
        clusterName: clusterName,
        adaptiveSettingsOverrides: JSON.stringify({
            LOAD_SHEDDING: loadSheddingEnabled,
            SEARCH_LOAD_SHEDDING: searchLoadSheddingEnabled,
        }),
    });
    const _this = mongodbatlas.getClusterAdaptiveSettingsOutput({
        projectId: thisClusterAdaptiveSettings.projectId,
        clusterName: thisClusterAdaptiveSettings.clusterName,
    });
    
    import pulumi
    import json
    import pulumi_mongodbatlas as mongodbatlas
    
    # Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
    this_cluster_adaptive_settings = mongodbatlas.ClusterAdaptiveSettings("this",
        project_id=project_id,
        cluster_name=cluster_name,
        adaptive_settings_overrides=json.dumps({
            "LOAD_SHEDDING": load_shedding_enabled,
            "SEARCH_LOAD_SHEDDING": search_load_shedding_enabled,
        }))
    this = mongodbatlas.get_cluster_adaptive_settings_output(project_id=this_cluster_adaptive_settings.project_id,
        cluster_name=this_cluster_adaptive_settings.cluster_name)
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"LOAD_SHEDDING":        loadSheddingEnabled,
    			"SEARCH_LOAD_SHEDDING": searchLoadSheddingEnabled,
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		// Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
    		thisClusterAdaptiveSettings, err := mongodbatlas.NewClusterAdaptiveSettings(ctx, "this", &mongodbatlas.ClusterAdaptiveSettingsArgs{
    			ProjectId:                 pulumi.Any(projectId),
    			ClusterName:               pulumi.Any(clusterName),
    			AdaptiveSettingsOverrides: pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		_ = mongodbatlas.GetClusterAdaptiveSettingsOutput(ctx, mongodbatlas.GetClusterAdaptiveSettingsOutputArgs{
    			ProjectId:   thisClusterAdaptiveSettings.ProjectId,
    			ClusterName: thisClusterAdaptiveSettings.ClusterName,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        // Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
        var thisClusterAdaptiveSettings = new Mongodbatlas.ClusterAdaptiveSettings("this", new()
        {
            ProjectId = projectId,
            ClusterName = clusterName,
            AdaptiveSettingsOverrides = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["LOAD_SHEDDING"] = loadSheddingEnabled,
                ["SEARCH_LOAD_SHEDDING"] = searchLoadSheddingEnabled,
            }),
        });
    
        var @this = Mongodbatlas.GetClusterAdaptiveSettings.Invoke(new()
        {
            ProjectId = thisClusterAdaptiveSettings.ProjectId,
            ClusterName = thisClusterAdaptiveSettings.ClusterName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.ClusterAdaptiveSettings;
    import com.pulumi.mongodbatlas.ClusterAdaptiveSettingsArgs;
    import com.pulumi.mongodbatlas.MongodbatlasFunctions;
    import com.pulumi.mongodbatlas.inputs.GetClusterAdaptiveSettingsArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
            var thisClusterAdaptiveSettings = new ClusterAdaptiveSettings("thisClusterAdaptiveSettings", ClusterAdaptiveSettingsArgs.builder()
                .projectId(projectId)
                .clusterName(clusterName)
                .adaptiveSettingsOverrides(serializeJson(
                    jsonObject(
                        jsonProperty("LOAD_SHEDDING", loadSheddingEnabled),
                        jsonProperty("SEARCH_LOAD_SHEDDING", searchLoadSheddingEnabled)
                    )))
                .build());
    
            final var this = MongodbatlasFunctions.getClusterAdaptiveSettings(GetClusterAdaptiveSettingsArgs.builder()
                .projectId(thisClusterAdaptiveSettings.projectId())
                .clusterName(thisClusterAdaptiveSettings.clusterName())
                .build());
    
        }
    }
    
    resources:
      # Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
      thisClusterAdaptiveSettings:
        type: mongodbatlas:ClusterAdaptiveSettings
        name: this
        properties:
          projectId: ${projectId}
          clusterName: ${clusterName}
          adaptiveSettingsOverrides:
            fn::toJSON:
              LOAD_SHEDDING: ${loadSheddingEnabled}
              SEARCH_LOAD_SHEDDING: ${searchLoadSheddingEnabled}
    variables:
      this:
        fn::invoke:
          function: mongodbatlas:getClusterAdaptiveSettings
          arguments:
            projectId: ${thisClusterAdaptiveSettings.projectId}
            clusterName: ${thisClusterAdaptiveSettings.clusterName}
    
    pulumi {
      required_providers {
        mongodbatlas = {
          source = "pulumi/mongodbatlas"
        }
      }
    }
    
    data "mongodbatlas_getclusteradaptivesettings" "this" {
      project_id   = mongodbatlas_clusteradaptivesettings.this.project_id
      cluster_name = mongodbatlas_clusteradaptivesettings.this.cluster_name
    }
    
    # Manage Adaptive Settings overrides for an existing MongoDB Atlas cluster and read the resulting effective settings with the corresponding data source.
    resource "mongodbatlas_clusteradaptivesettings" "this" {
      project_id   = projectId
      cluster_name = clusterName
      adaptive_settings_overrides = jsonencode({
        "LOAD_SHEDDING"        = loadSheddingEnabled
        "SEARCH_LOAD_SHEDDING" = searchLoadSheddingEnabled
      })
    }
    

    Create ClusterAdaptiveSettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ClusterAdaptiveSettings(name: string, args: ClusterAdaptiveSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def ClusterAdaptiveSettings(resource_name: str,
                                args: ClusterAdaptiveSettingsArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClusterAdaptiveSettings(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                cluster_name: Optional[str] = None,
                                project_id: Optional[str] = None,
                                adaptive_settings_overrides: Optional[str] = None)
    func NewClusterAdaptiveSettings(ctx *Context, name string, args ClusterAdaptiveSettingsArgs, opts ...ResourceOption) (*ClusterAdaptiveSettings, error)
    public ClusterAdaptiveSettings(string name, ClusterAdaptiveSettingsArgs args, CustomResourceOptions? opts = null)
    public ClusterAdaptiveSettings(String name, ClusterAdaptiveSettingsArgs args)
    public ClusterAdaptiveSettings(String name, ClusterAdaptiveSettingsArgs args, CustomResourceOptions options)
    
    type: mongodbatlas:ClusterAdaptiveSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mongodbatlas_cluster_adaptive_settings" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ClusterAdaptiveSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClusterAdaptiveSettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClusterAdaptiveSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterAdaptiveSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterAdaptiveSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var clusterAdaptiveSettingsResource = new Mongodbatlas.ClusterAdaptiveSettings("clusterAdaptiveSettingsResource", new()
    {
        ClusterName = "string",
        ProjectId = "string",
        AdaptiveSettingsOverrides = "string",
    });
    
    example, err := mongodbatlas.NewClusterAdaptiveSettings(ctx, "clusterAdaptiveSettingsResource", &mongodbatlas.ClusterAdaptiveSettingsArgs{
    	ClusterName:               pulumi.String("string"),
    	ProjectId:                 pulumi.String("string"),
    	AdaptiveSettingsOverrides: pulumi.String("string"),
    })
    
    resource "mongodbatlas_cluster_adaptive_settings" "clusterAdaptiveSettingsResource" {
      lifecycle {
        create_before_destroy = true
      }
      cluster_name                = "string"
      project_id                  = "string"
      adaptive_settings_overrides = "string"
    }
    
    var clusterAdaptiveSettingsResource = new ClusterAdaptiveSettings("clusterAdaptiveSettingsResource", ClusterAdaptiveSettingsArgs.builder()
        .clusterName("string")
        .projectId("string")
        .adaptiveSettingsOverrides("string")
        .build());
    
    cluster_adaptive_settings_resource = mongodbatlas.ClusterAdaptiveSettings("clusterAdaptiveSettingsResource",
        cluster_name="string",
        project_id="string",
        adaptive_settings_overrides="string")
    
    const clusterAdaptiveSettingsResource = new mongodbatlas.ClusterAdaptiveSettings("clusterAdaptiveSettingsResource", {
        clusterName: "string",
        projectId: "string",
        adaptiveSettingsOverrides: "string",
    });
    
    type: mongodbatlas:ClusterAdaptiveSettings
    properties:
        adaptiveSettingsOverrides: string
        clusterName: string
        projectId: string
    

    ClusterAdaptiveSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ClusterAdaptiveSettings resource accepts the following input properties:

    ClusterName string
    Human-readable label that identifies the cluster.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    AdaptiveSettingsOverrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    ClusterName string
    Human-readable label that identifies the cluster.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    AdaptiveSettingsOverrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    cluster_name string
    Human-readable label that identifies the cluster.
    project_id string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptive_settings_overrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    clusterName String
    Human-readable label that identifies the cluster.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptiveSettingsOverrides String
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    clusterName string
    Human-readable label that identifies the cluster.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptiveSettingsOverrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    cluster_name str
    Human-readable label that identifies the cluster.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptive_settings_overrides str
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    clusterName String
    Human-readable label that identifies the cluster.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptiveSettingsOverrides String
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ClusterAdaptiveSettings resource produces the following output properties:

    EffectiveAdaptiveSettings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    Id string
    The provider-assigned unique ID for this managed resource.
    EffectiveAdaptiveSettings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    Id string
    The provider-assigned unique ID for this managed resource.
    effective_adaptive_settings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    id string
    The provider-assigned unique ID for this managed resource.
    effectiveAdaptiveSettings String
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    id String
    The provider-assigned unique ID for this managed resource.
    effectiveAdaptiveSettings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    id string
    The provider-assigned unique ID for this managed resource.
    effective_adaptive_settings str
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    id str
    The provider-assigned unique ID for this managed resource.
    effectiveAdaptiveSettings String
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ClusterAdaptiveSettings Resource

    Get an existing ClusterAdaptiveSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClusterAdaptiveSettingsState, opts?: CustomResourceOptions): ClusterAdaptiveSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adaptive_settings_overrides: Optional[str] = None,
            cluster_name: Optional[str] = None,
            effective_adaptive_settings: Optional[str] = None,
            project_id: Optional[str] = None) -> ClusterAdaptiveSettings
    func GetClusterAdaptiveSettings(ctx *Context, name string, id IDInput, state *ClusterAdaptiveSettingsState, opts ...ResourceOption) (*ClusterAdaptiveSettings, error)
    public static ClusterAdaptiveSettings Get(string name, Input<string> id, ClusterAdaptiveSettingsState? state, CustomResourceOptions? opts = null)
    public static ClusterAdaptiveSettings get(String name, Output<String> id, ClusterAdaptiveSettingsState state, CustomResourceOptions options)
    resources:  _:    type: mongodbatlas:ClusterAdaptiveSettings    get:      id: ${id}
    import {
      to = mongodbatlas_cluster_adaptive_settings.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdaptiveSettingsOverrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    ClusterName string
    Human-readable label that identifies the cluster.
    EffectiveAdaptiveSettings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    AdaptiveSettingsOverrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    ClusterName string
    Human-readable label that identifies the cluster.
    EffectiveAdaptiveSettings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptive_settings_overrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    cluster_name string
    Human-readable label that identifies the cluster.
    effective_adaptive_settings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    project_id string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptiveSettingsOverrides String
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    clusterName String
    Human-readable label that identifies the cluster.
    effectiveAdaptiveSettings String
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptiveSettingsOverrides string
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    clusterName string
    Human-readable label that identifies the cluster.
    effectiveAdaptiveSettings string
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptive_settings_overrides str
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    cluster_name str
    Human-readable label that identifies the cluster.
    effective_adaptive_settings str
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    adaptiveSettingsOverrides String
    JSON-encoded map of customer-specified Adaptive Settings overrides, applied on a best-effort basis. Use jsonencode to configure this attribute. Each supported entry that you specify takes precedence over the corresponding Atlas-managed default.
    clusterName String
    Human-readable label that identifies the cluster.
    effectiveAdaptiveSettings String
    JSON-encoded map of the effective Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version. An override for a setting unsupported by the cluster's MongoDB version doesn't take effect, and the effective value reflects the Atlas-managed default.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.

    Import

    Import cluster Adaptive Settings by using the project ID and cluster name in the format PROJECT_ID/CLUSTER_NAME, for example:

    $ pulumi import mongodbatlas:index/clusterAdaptiveSettings:ClusterAdaptiveSettings this 0123456789abcdef01234567/Cluster0
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo mongodbatlas logo
    Viewing docs for MongoDB Atlas v4.17.0
    published on Thursday, Oct 1, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial