File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
examples/enterprise_role_bindings Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ resource "castai_enterprise_role_binding" "enterprise_rb" {
2+ enterprise_id = " 63a24904-9ae7-4a6b-bdb2-15dcafc42b66"
3+ organization_id = " 63a24904-9ae7-4a6b-bdb2-15dcafc42b66"
4+
5+ name = " Enterprise Role Binding - Owner"
6+ description = " Enterprise Role Binding for Owner role"
7+ role_id = " 0145fead-6c09-41cb-a262-cfaaab392971"
8+
9+ scopes {
10+ organization {
11+ id = " 63a24904-9ae7-4a6b-bdb2-15dcafc42b66"
12+ }
13+ }
14+
15+ subjects {
16+ user {
17+ id = " 67e71067-04c4-4423-8655-9c366b7234b0"
18+ }
19+ }
20+ }
21+
22+ resource "castai_enterprise_role_binding" "child_rb" {
23+ enterprise_id = " 63a24904-9ae7-4a6b-bdb2-15dcafc42b66"
24+ organization_id = " 76452f30-9b42-4847-a33e-9bc39e80ead2"
25+
26+ name = " Child Role Binding - Member"
27+ description = " Child Role Binding for Member role"
28+ role_id = " 8c60bd8e-21de-402a-969f-add07fd22c1b"
29+
30+ scopes {
31+ organization {
32+ id = " 76452f30-9b42-4847-a33e-9bc39e80ead2"
33+ }
34+ }
35+
36+ subjects {
37+ user {
38+ id = " 67e71067-04c4-4423-8655-9c366b7234b0"
39+ }
40+
41+ service_account {
42+ id = " 7ae72c7f-c0ac-4e15-8287-cc058b43eb14"
43+ }
44+
45+ service_account {
46+ id = " 8dd98f12-43f3-48f5-89b3-d0ca96ec00b2"
47+ }
48+
49+ service_account {
50+ id = " 66be7d78-7081-41d8-9549-97fd5767801b"
51+ }
52+
53+ group {
54+ id = " 0fbeba03-d1c0-48b9-8deb-09da9f43a75b"
55+ }
56+ }
57+ }
You can’t perform that action at this time.
0 commit comments