-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathfederatedSettingsOrgRoleMapping.json
More file actions
80 lines (80 loc) · 1.71 KB
/
federatedSettingsOrgRoleMapping.json
File metadata and controls
80 lines (80 loc) · 1.71 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This template creates a Federated Settings Org Role Mapping on the MongoDB Atlas API, this will be billed to your Atlas account.",
"Parameters": {
"Profile": {
"Type": "String",
"Default": "default"
},
"FederationSettingsId": {
"Type": "String",
"Default": ""
},
"OrgId": {
"Type": "String",
"Default": ""
},
"ExternalGroupName": {
"Type": "String",
"Default": "RMGroup-01"
},
"GroupRole": {
"Type": "String",
"Default": "GROUP_DATA_ACCESS_READ_WRITE"
},
"OrgRole": {
"Type": "String",
"Default": "ORG_MEMBER"
},
"ProjectId": {
"Type": "String",
"Default": ""
}
},
"Mappings": {},
"Resources": {
"FederatedSettingsOrgRoleMapping": {
"Type": "MongoDB::Atlas::FederatedSettingsOrgRoleMapping",
"Properties": {
"Profile": { "Ref": "Profile" },
"FederationSettingsId": {
"Ref": "FederationSettingsId"
},
"OrgId": {
"Ref": "OrgId"
},
"ExternalGroupName": {
"Ref": "ExternalGroupName"
},
"RoleAssignments": [
{
"Role": {
"Ref": "GroupRole"
},
"ProjectId": {
"Ref": "ProjectId"
}
},
{
"Role": {
"Ref": "OrgRole"
},
"OrgId": {
"Ref": "OrgId"
}
}
]
}
}
},
"Outputs": {
"RoleMappingID": {
"Value": {
"Fn::GetAtt": [
"FederatedSettingsOrgRoleMapping",
"Id"
]
}
}
}
}