@@ -75,47 +75,23 @@ locals {
75
75
" manage ons-family" , " manage alarms" , " manage metrics" , " manage logs" , " manage cloudevents-rules" ,
76
76
# Resource manager
77
77
" manage orm-stacks" , " manage orm-jobs" , " manage orm-config-source-providers" ,
78
+ # File Storage Service
79
+ " manage file-systems" , " manage export-sets" ,
78
80
79
81
# read
80
82
" read all-resources" , " read audit-events" , " read work-requests" , " read instance-agent-plugins"
81
83
] ),
82
84
83
85
var. application_type == " ebs" # adds additional database policy grants needed for ebs admins
84
86
? formatlist (" allow group %%s to %s in compartment %%s" ,[
85
- " manage database-family" , " manage autonomous-database-family" ,
87
+ " manage database-family" , " manage autonomous-database-family" , " manage load-balancers " , " manage tag-namespaces "
86
88
])
87
89
: []
88
90
89
- ) # TODO: make clear seperation of Landing Zone statements and CM statements
90
-
91
-
92
-
93
- # TODO: clean up documentation
94
-
95
- # taken from EBS demo stack -- https://docs.oracle.com/cd/E26401_01/doc.122/f35809/T679330T679339.htm#T679469
96
- ebscm_statements = concat (
97
- local. app_statements ,
98
- formatlist (" allow group %%s to %s in compartment %%s" ,[
99
- " manage load-balancers" , " manage tag-namespaces" ,
100
- " manage database-family" # not in docs but I think is necessary to create an ebs environment
101
- ]),
102
- var. with_identity_domains ? [" allow group %%s to use domains in compartment %%s" ] : [] # docs say scope to tenancy
103
91
)
104
92
105
- /*
106
- #tenancy
107
- formatlist( "allow group ${oci_identity_group.application[0].name} to %s in tenancy", [
108
- "manage buckets", "manage objects", "manage app-catalog-listing", "inspect compartments",
109
- "inspect users", "inspect groups", "use tag-namespaces"
110
- ]),
111
- formatlist( "allow group ${oci_identity_group.application[0].name} to %s in compartment ${oci_identity_compartment.application[0].name}", [
112
- "manage database-family", "manage instance-family", "manage load-balancers",
113
- "manage tag-namespaces", "manage virtual-network-family", "manage volume-family"
114
- ]),
115
- */
116
-
117
93
118
- applied_statement = local. app_statements # TODO add support for ebs application type
94
+ applied_statement = local. app_statements
119
95
120
96
}
121
97
0 commit comments