Skip to content

Commit 74aec25

Browse files
committed
fix origin roles
1 parent 9c308c9 commit 74aec25

File tree

1 file changed

+5
-1
lines changed
  • released/discovery_center/mission_3680/step1

1 file changed

+5
-1
lines changed

released/discovery_center/mission_3680/step1/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ resource "btp_subaccount_role_collection_assignment" "subaccount-admins" {
7676
subaccount_id = data.btp_subaccount.dc_mission.id
7777
role_collection_name = "Subaccount Administrator"
7878
user_name = each.value
79+
origin = local.origin_key
7980
}
8081
# ------------------------------------------------------------------------------------------------------
8182
# Assignment of users as sub account service administrators
@@ -85,9 +86,9 @@ resource "btp_subaccount_role_collection_assignment" "subaccount-service-admins"
8586
subaccount_id = data.btp_subaccount.dc_mission.id
8687
role_collection_name = "Subaccount Service Administrator"
8788
user_name = each.value
89+
origin = local.origin_key
8890
}
8991

90-
9192
# ------------------------------------------------------------------------------------------------------
9293
# Entitle subaccount for usage of SAP HANA Cloud tools
9394
# ------------------------------------------------------------------------------------------------------
@@ -110,6 +111,7 @@ resource "btp_subaccount_role_collection_assignment" "hana_cloud_admin" {
110111
role_collection_name = "SAP HANA Cloud Administrator"
111112
user_name = var.hana_system_admin
112113
depends_on = [btp_subaccount_subscription.hana_cloud_tools]
114+
origin = local.origin_key_app_users
113115
}
114116

115117
# ------------------------------------------------------------------------------------------------------
@@ -230,6 +232,7 @@ resource "btp_subaccount_role_collection_assignment" "event_mesh_admin" {
230232
subaccount_id = data.btp_subaccount.dc_mission.id
231233
role_collection_name = "Enterprise Messaging Administrator"
232234
user_name = each.value
235+
origin = local.origin_key_app_users
233236
}
234237

235238
resource "btp_subaccount_role_collection_assignment" "event_mesh_developer" {
@@ -238,6 +241,7 @@ resource "btp_subaccount_role_collection_assignment" "event_mesh_developer" {
238241
subaccount_id = data.btp_subaccount.dc_mission.id
239242
role_collection_name = "Enterprise Messaging Developer"
240243
user_name = each.value
244+
origin = local.origin_key_app_users
241245
}
242246

243247
# ------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)