-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathcluster-outage-simulation.json
56 lines (55 loc) · 1.37 KB
/
cluster-outage-simulation.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This template Returns, starts, or ends a cluster outage simulation.",
"Parameters": {
"ProjectId": {
"Type": "String",
"Description": "Unique 24-hexadecimal digit string that identifies your project",
"Default": "64bad960538ae76ec5c70050"
},
"ClusterName": {
"Type": "String",
"Description": "Name to use for your Atlas Cluster",
"Default": "ClusterOutageTest"
},
"Profile": {
"Type": "String",
"Description": "Secret Manager Profile that contains the Atlas Programmatic keys",
"Default": "default"
}
},
"Resources": {
"CloudOutageSimulation": {
"Type": "MongoDB::Atlas::ClusterOutageSimulation",
"Properties": {
"ProjectId": {
"Ref": "ProjectId"
},
"ClusterName": {
"Ref": "ClusterName"
},
"Profile": {
"Ref": "Profile"
},
"OutageFilters": [
{
"CloudProvider": "AWS",
"Region": "US_WEST_1",
"Type": "REGION"
}
]
}
}
},
"Outputs": {
"CloudOutageSimulationID": {
"Description": "Id of the CloudOutageSimulation and cluster name",
"Value": {
"Fn::GetAtt": [
"CloudOutageSimulation",
"SimulationId"
]
}
}
}
}