mongodbatlas.ClusterOutageSimulation
Explore with Pulumi AI
# Resource: mongodbatlas.ClusterOutageSimulation
mongodbatlas.ClusterOutageSimulation
provides a Cluster Outage Simulation resource. For more details see https://www.mongodb.com/docs/atlas/tutorial/test-resilience/simulate-regional-outage/
Test Outage on Minority of Electable Nodes - Select fewer than half of your electable nodes.
Test Outage on Majority of Electable Nodes - Select at least one more than half of your electable nodes and keep at least one electable node remaining.
IMPORTANT: Test Outage on Majority of Electable Nodes will leave the Atlas cluster without a majority quorum. There will be no primary so write operations will not succeed, and reads will succeed only when configured with a suitable readPreference. To recover the majority quorum, you will have the option to manually reconfigure your cluster by adding new nodes to existing regions or adding new regions at the risk of losing recent writes, or end the simulation.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
IMPORTANT: This resource cannot be updated. IMPORTANT: An existing Cluster Outage Simulation cannot be imported as this resource does not support import operation.
Example Usage
S
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const outageSimulation = new mongodbatlas.ClusterOutageSimulation("outage_simulation", {
projectId: "64707f06c519c20c3a2b1b03",
clusterName: "Cluster0",
outageFilters: [
{
cloudProvider: "AWS",
regionName: "US_EAST_1",
},
{
cloudProvider: "AWS",
regionName: "US_EAST_2",
},
],
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
outage_simulation = mongodbatlas.ClusterOutageSimulation("outage_simulation",
project_id="64707f06c519c20c3a2b1b03",
cluster_name="Cluster0",
outage_filters=[
{
"cloud_provider": "AWS",
"region_name": "US_EAST_1",
},
{
"cloud_provider": "AWS",
"region_name": "US_EAST_2",
},
])
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodbatlas.NewClusterOutageSimulation(ctx, "outage_simulation", &mongodbatlas.ClusterOutageSimulationArgs{
ProjectId: pulumi.String("64707f06c519c20c3a2b1b03"),
ClusterName: pulumi.String("Cluster0"),
OutageFilters: mongodbatlas.ClusterOutageSimulationOutageFilterArray{
&mongodbatlas.ClusterOutageSimulationOutageFilterArgs{
CloudProvider: pulumi.String("AWS"),
RegionName: pulumi.String("US_EAST_1"),
},
&mongodbatlas.ClusterOutageSimulationOutageFilterArgs{
CloudProvider: pulumi.String("AWS"),
RegionName: pulumi.String("US_EAST_2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var outageSimulation = new Mongodbatlas.ClusterOutageSimulation("outage_simulation", new()
{
ProjectId = "64707f06c519c20c3a2b1b03",
ClusterName = "Cluster0",
OutageFilters = new[]
{
new Mongodbatlas.Inputs.ClusterOutageSimulationOutageFilterArgs
{
CloudProvider = "AWS",
RegionName = "US_EAST_1",
},
new Mongodbatlas.Inputs.ClusterOutageSimulationOutageFilterArgs
{
CloudProvider = "AWS",
RegionName = "US_EAST_2",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.ClusterOutageSimulation;
import com.pulumi.mongodbatlas.ClusterOutageSimulationArgs;
import com.pulumi.mongodbatlas.inputs.ClusterOutageSimulationOutageFilterArgs;
import java.util.List;
import java.util.ArrayList;
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) {
var outageSimulation = new ClusterOutageSimulation("outageSimulation", ClusterOutageSimulationArgs.builder()
.projectId("64707f06c519c20c3a2b1b03")
.clusterName("Cluster0")
.outageFilters(
ClusterOutageSimulationOutageFilterArgs.builder()
.cloudProvider("AWS")
.regionName("US_EAST_1")
.build(),
ClusterOutageSimulationOutageFilterArgs.builder()
.cloudProvider("AWS")
.regionName("US_EAST_2")
.build())
.build());
}
}
resources:
outageSimulation:
type: mongodbatlas:ClusterOutageSimulation
name: outage_simulation
properties:
projectId: 64707f06c519c20c3a2b1b03
clusterName: Cluster0
outageFilters:
- cloudProvider: AWS
regionName: US_EAST_1
- cloudProvider: AWS
regionName: US_EAST_2
Create ClusterOutageSimulation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterOutageSimulation(name: string, args: ClusterOutageSimulationArgs, opts?: CustomResourceOptions);
@overload
def ClusterOutageSimulation(resource_name: str,
args: ClusterOutageSimulationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterOutageSimulation(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
outage_filters: Optional[Sequence[ClusterOutageSimulationOutageFilterArgs]] = None,
project_id: Optional[str] = None)
func NewClusterOutageSimulation(ctx *Context, name string, args ClusterOutageSimulationArgs, opts ...ResourceOption) (*ClusterOutageSimulation, error)
public ClusterOutageSimulation(string name, ClusterOutageSimulationArgs args, CustomResourceOptions? opts = null)
public ClusterOutageSimulation(String name, ClusterOutageSimulationArgs args)
public ClusterOutageSimulation(String name, ClusterOutageSimulationArgs args, CustomResourceOptions options)
type: mongodbatlas:ClusterOutageSimulation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterOutageSimulationArgs
- 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 ClusterOutageSimulationArgs
- 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 ClusterOutageSimulationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterOutageSimulationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterOutageSimulationArgs
- 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 clusterOutageSimulationResource = new Mongodbatlas.ClusterOutageSimulation("clusterOutageSimulationResource", new()
{
ClusterName = "string",
OutageFilters = new[]
{
new Mongodbatlas.Inputs.ClusterOutageSimulationOutageFilterArgs
{
CloudProvider = "string",
RegionName = "string",
Type = "string",
},
},
ProjectId = "string",
});
example, err := mongodbatlas.NewClusterOutageSimulation(ctx, "clusterOutageSimulationResource", &mongodbatlas.ClusterOutageSimulationArgs{
ClusterName: pulumi.String("string"),
OutageFilters: mongodbatlas.ClusterOutageSimulationOutageFilterArray{
&mongodbatlas.ClusterOutageSimulationOutageFilterArgs{
CloudProvider: pulumi.String("string"),
RegionName: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
ProjectId: pulumi.String("string"),
})
var clusterOutageSimulationResource = new ClusterOutageSimulation("clusterOutageSimulationResource", ClusterOutageSimulationArgs.builder()
.clusterName("string")
.outageFilters(ClusterOutageSimulationOutageFilterArgs.builder()
.cloudProvider("string")
.regionName("string")
.type("string")
.build())
.projectId("string")
.build());
cluster_outage_simulation_resource = mongodbatlas.ClusterOutageSimulation("clusterOutageSimulationResource",
cluster_name="string",
outage_filters=[mongodbatlas.ClusterOutageSimulationOutageFilterArgs(
cloud_provider="string",
region_name="string",
type="string",
)],
project_id="string")
const clusterOutageSimulationResource = new mongodbatlas.ClusterOutageSimulation("clusterOutageSimulationResource", {
clusterName: "string",
outageFilters: [{
cloudProvider: "string",
regionName: "string",
type: "string",
}],
projectId: "string",
});
type: mongodbatlas:ClusterOutageSimulation
properties:
clusterName: string
outageFilters:
- cloudProvider: string
regionName: string
type: string
projectId: string
ClusterOutageSimulation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ClusterOutageSimulation resource accepts the following input properties:
- Cluster
Name string - Name of the Atlas Cluster that is/will undergoing outage simulation.
- Outage
Filters List<ClusterOutage Simulation Outage Filter> - List of settings that specify the type of cluster outage simulation.
- Project
Id string - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- Cluster
Name string - Name of the Atlas Cluster that is/will undergoing outage simulation.
- Outage
Filters []ClusterOutage Simulation Outage Filter Args - List of settings that specify the type of cluster outage simulation.
- Project
Id string - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- cluster
Name String - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage
Filters List<ClusterOutage Simulation Outage Filter> - List of settings that specify the type of cluster outage simulation.
- project
Id String - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- cluster
Name string - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage
Filters ClusterOutage Simulation Outage Filter[] - List of settings that specify the type of cluster outage simulation.
- project
Id string - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- cluster_
name str - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage_
filters Sequence[ClusterOutage Simulation Outage Filter Args] - List of settings that specify the type of cluster outage simulation.
- project_
id str - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- cluster
Name String - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage
Filters List<Property Map> - List of settings that specify the type of cluster outage simulation.
- project
Id String - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterOutageSimulation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Simulation
Id string - Unique 24-hexadecimal character string that identifies the outage simulation.
- Start
Request stringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- State string
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Simulation
Id string - Unique 24-hexadecimal character string that identifies the outage simulation.
- Start
Request stringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- State string
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- id String
- The provider-assigned unique ID for this managed resource.
- simulation
Id String - Unique 24-hexadecimal character string that identifies the outage simulation.
- start
Request StringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- state String
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- id string
- The provider-assigned unique ID for this managed resource.
- simulation
Id string - Unique 24-hexadecimal character string that identifies the outage simulation.
- start
Request stringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- state string
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- id str
- The provider-assigned unique ID for this managed resource.
- simulation_
id str - Unique 24-hexadecimal character string that identifies the outage simulation.
- start_
request_ strdate - Date and time when MongoDB Cloud started the regional outage simulation.
- state str
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- id String
- The provider-assigned unique ID for this managed resource.
- simulation
Id String - Unique 24-hexadecimal character string that identifies the outage simulation.
- start
Request StringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- state String
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
Look up Existing ClusterOutageSimulation Resource
Get an existing ClusterOutageSimulation 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?: ClusterOutageSimulationState, opts?: CustomResourceOptions): ClusterOutageSimulation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
outage_filters: Optional[Sequence[ClusterOutageSimulationOutageFilterArgs]] = None,
project_id: Optional[str] = None,
simulation_id: Optional[str] = None,
start_request_date: Optional[str] = None,
state: Optional[str] = None) -> ClusterOutageSimulation
func GetClusterOutageSimulation(ctx *Context, name string, id IDInput, state *ClusterOutageSimulationState, opts ...ResourceOption) (*ClusterOutageSimulation, error)
public static ClusterOutageSimulation Get(string name, Input<string> id, ClusterOutageSimulationState? state, CustomResourceOptions? opts = null)
public static ClusterOutageSimulation get(String name, Output<String> id, ClusterOutageSimulationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Cluster
Name string - Name of the Atlas Cluster that is/will undergoing outage simulation.
- Outage
Filters List<ClusterOutage Simulation Outage Filter> - List of settings that specify the type of cluster outage simulation.
- Project
Id string - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- Simulation
Id string - Unique 24-hexadecimal character string that identifies the outage simulation.
- Start
Request stringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- State string
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- Cluster
Name string - Name of the Atlas Cluster that is/will undergoing outage simulation.
- Outage
Filters []ClusterOutage Simulation Outage Filter Args - List of settings that specify the type of cluster outage simulation.
- Project
Id string - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- Simulation
Id string - Unique 24-hexadecimal character string that identifies the outage simulation.
- Start
Request stringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- State string
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- cluster
Name String - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage
Filters List<ClusterOutage Simulation Outage Filter> - List of settings that specify the type of cluster outage simulation.
- project
Id String - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- simulation
Id String - Unique 24-hexadecimal character string that identifies the outage simulation.
- start
Request StringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- state String
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- cluster
Name string - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage
Filters ClusterOutage Simulation Outage Filter[] - List of settings that specify the type of cluster outage simulation.
- project
Id string - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- simulation
Id string - Unique 24-hexadecimal character string that identifies the outage simulation.
- start
Request stringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- state string
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- cluster_
name str - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage_
filters Sequence[ClusterOutage Simulation Outage Filter Args] - List of settings that specify the type of cluster outage simulation.
- project_
id str - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- simulation_
id str - Unique 24-hexadecimal character string that identifies the outage simulation.
- start_
request_ strdate - Date and time when MongoDB Cloud started the regional outage simulation.
- state str
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
- cluster
Name String - Name of the Atlas Cluster that is/will undergoing outage simulation.
- outage
Filters List<Property Map> - List of settings that specify the type of cluster outage simulation.
- project
Id String - The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
- simulation
Id String - Unique 24-hexadecimal character string that identifies the outage simulation.
- start
Request StringDate - Date and time when MongoDB Cloud started the regional outage simulation.
- state String
- Current phase of the outage simulation:
START_REQUESTED
- User has requested cluster outage simulation.STARTING
- MongoDB Cloud is starting cluster outage simulation.SIMULATING
- MongoDB Cloud is simulating cluster outage.RECOVERY_REQUESTED
- User has requested recovery from the simulated outage.RECOVERING
- MongoDB Cloud is recovering the cluster from the simulated outage.COMPLETE
- MongoDB Cloud has completed the cluster outage simulation.
Supporting Types
ClusterOutageSimulationOutageFilter, ClusterOutageSimulationOutageFilterArgs
- Cloud
Provider string - The cloud provider of the region that undergoes the outage simulation. Following values are supported:
AWS
GCP
AZURE
- Region
Name string - The Atlas name of the region to undergo an outage simulation.
- Type string
- The type of cluster outage simulation. Following values are supported:
REGION
- Simulates a cluster outage for a region
- Cloud
Provider string - The cloud provider of the region that undergoes the outage simulation. Following values are supported:
AWS
GCP
AZURE
- Region
Name string - The Atlas name of the region to undergo an outage simulation.
- Type string
- The type of cluster outage simulation. Following values are supported:
REGION
- Simulates a cluster outage for a region
- cloud
Provider String - The cloud provider of the region that undergoes the outage simulation. Following values are supported:
AWS
GCP
AZURE
- region
Name String - The Atlas name of the region to undergo an outage simulation.
- type String
- The type of cluster outage simulation. Following values are supported:
REGION
- Simulates a cluster outage for a region
- cloud
Provider string - The cloud provider of the region that undergoes the outage simulation. Following values are supported:
AWS
GCP
AZURE
- region
Name string - The Atlas name of the region to undergo an outage simulation.
- type string
- The type of cluster outage simulation. Following values are supported:
REGION
- Simulates a cluster outage for a region
- cloud_
provider str - The cloud provider of the region that undergoes the outage simulation. Following values are supported:
AWS
GCP
AZURE
- region_
name str - The Atlas name of the region to undergo an outage simulation.
- type str
- The type of cluster outage simulation. Following values are supported:
REGION
- Simulates a cluster outage for a region
- cloud
Provider String - The cloud provider of the region that undergoes the outage simulation. Following values are supported:
AWS
GCP
AZURE
- region
Name String - The Atlas name of the region to undergo an outage simulation.
- type String
- The type of cluster outage simulation. Following values are supported:
REGION
- Simulates a cluster outage for a region
Import
The mongodbatlas_cluster_outage_simulation
resource does not support import operation.
See MongoDB Atlas API Documentation for more information.
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.