Skip to content

Commit 4eecbbf

Browse files
committed
fix(terraform): update role assignment to use any_principals for AKS, OpenAI, and Service Bus modules
1 parent fc613f8 commit 4eecbbf

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

infra/terraform/kubernetes.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module "aks-role" {
7878
role_assignments = {
7979
role_assignment_1 = {
8080
role_definition = "aks_cluster_admin_role"
81-
users = ["current_user"]
81+
any_principals = ["current_user"]
8282
}
8383
}
8484
}

infra/terraform/openai.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module "aoai-role" {
5858
role_assignments = {
5959
role_assignment_1 = {
6060
role_definition = "cognitive_services_openai_user_role"
61-
users = ["current_user"]
61+
any_principals = ["current_user"]
6262
}
6363
}
6464
}

infra/terraform/servicebus.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module "avm-res-authorization-roleassignment-sb" {
3636
role_assignments = {
3737
role_assignment_1 = {
3838
role_definition = "service_bus_data_owner_role"
39-
users = ["current_user"]
39+
any_principals = ["current_user"]
4040
}
4141
}
4242
}

0 commit comments

Comments
 (0)