File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,30 @@ resource "nomad_acl_role" "root" {
137137 }
138138}
139139
140- resource "nomad_acl_binding_rule" "platform" {
140+ moved {
141+ from = nomad_acl_binding_rule. platform
142+ to = nomad_acl_binding_rule. core
143+ }
144+
145+ resource "nomad_acl_binding_rule" "core" {
146+ auth_method = nomad_acl_auth_method. okta . name
147+ bind_type = " role"
148+ bind_name = nomad_acl_role. root . name
149+ selector = " \" Core Platform Team\" in list.groups"
150+ }
151+
152+ resource "nomad_acl_binding_rule" "data" {
153+ auth_method = nomad_acl_auth_method. okta . name
154+ bind_type = " role"
155+ bind_name = nomad_acl_role. root . name
156+ selector = " \" Data Platform Team\" in list.groups"
157+ }
158+
159+ resource "nomad_acl_binding_rule" "oncall" {
141160 auth_method = nomad_acl_auth_method. okta . name
142161 bind_type = " role"
143162 bind_name = nomad_acl_role. root . name
144- selector = " \" Platform Team\" in list.groups"
163+ selector = " \" On-Call Team\" in list.groups"
145164}
146165
147166resource "nomad_acl_policy" "github_actions" {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ variable "groups" {
1111 default = [
1212 " owners" ,
1313 " On-Call Team" ,
14- " Platform Team" ,
14+ " Core Platform Team" ,
15+ " Data Platform Team" ,
1516 ]
1617}
You can’t perform that action at this time.
0 commit comments