@@ -76,6 +76,7 @@ resource "btp_subaccount_role_collection_assignment" "subaccount-admins" {
76
76
subaccount_id = data. btp_subaccount . dc_mission . id
77
77
role_collection_name = " Subaccount Administrator"
78
78
user_name = each. value
79
+ origin = local. origin_key
79
80
}
80
81
# ------------------------------------------------------------------------------------------------------
81
82
# Assignment of users as sub account service administrators
@@ -85,9 +86,9 @@ resource "btp_subaccount_role_collection_assignment" "subaccount-service-admins"
85
86
subaccount_id = data. btp_subaccount . dc_mission . id
86
87
role_collection_name = " Subaccount Service Administrator"
87
88
user_name = each. value
89
+ origin = local. origin_key
88
90
}
89
91
90
-
91
92
# ------------------------------------------------------------------------------------------------------
92
93
# Entitle subaccount for usage of SAP HANA Cloud tools
93
94
# ------------------------------------------------------------------------------------------------------
@@ -110,6 +111,7 @@ resource "btp_subaccount_role_collection_assignment" "hana_cloud_admin" {
110
111
role_collection_name = " SAP HANA Cloud Administrator"
111
112
user_name = var. hana_system_admin
112
113
depends_on = [btp_subaccount_subscription . hana_cloud_tools ]
114
+ origin = local. origin_key_app_users
113
115
}
114
116
115
117
# ------------------------------------------------------------------------------------------------------
@@ -230,6 +232,7 @@ resource "btp_subaccount_role_collection_assignment" "event_mesh_admin" {
230
232
subaccount_id = data. btp_subaccount . dc_mission . id
231
233
role_collection_name = " Enterprise Messaging Administrator"
232
234
user_name = each. value
235
+ origin = local. origin_key_app_users
233
236
}
234
237
235
238
resource "btp_subaccount_role_collection_assignment" "event_mesh_developer" {
@@ -238,6 +241,7 @@ resource "btp_subaccount_role_collection_assignment" "event_mesh_developer" {
238
241
subaccount_id = data. btp_subaccount . dc_mission . id
239
242
role_collection_name = " Enterprise Messaging Developer"
240
243
user_name = each. value
244
+ origin = local. origin_key_app_users
241
245
}
242
246
243
247
# ------------------------------------------------------------------------------------------------------
0 commit comments