File tree Expand file tree Collapse file tree 9 files changed +66
-14
lines changed
azure-integration-preprovisioned-subscriptions
azure-integration-with-additional-resource-access
azure-integration-with-uami-blueprint-user-principal
meshcloud-metering-service-principal
meshcloud-replicator-service-principal Expand file tree Collapse file tree 9 files changed +66
-14
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ terraform {
11
11
}
12
12
}
13
13
14
+ provider "azurerm" {
15
+ # Configuration options
16
+ features {}
17
+ }
18
+
19
+ provider "azuread" {
20
+ # Configuration options
21
+ }
22
+
14
23
module "meshplatform" {
15
24
source = " meshcloud/meshplatform/azure"
16
25
Original file line number Diff line number Diff line change 1
- output "replicator_service_principal " {
1
+ output "replicator_credentials " {
2
2
description = " Replicator Service Principal."
3
3
value = module. meshplatform . replicator_service_principal
4
4
}
5
5
6
- output "replicator_service_principal_password " {
6
+ output "replicator_client_secret " {
7
7
description = " Password for Replicator Service Principal."
8
8
value = module. meshplatform . replicator_service_principal_password
9
9
sensitive = true
10
10
}
11
11
12
- output "metering_service_principal " {
12
+ output "metering_credentials " {
13
13
description = " Metering Service Principal."
14
14
value = module. meshplatform . metering_service_principal
15
15
}
16
16
17
- output "metering_service_principal_password " {
17
+ output "metering_client_secret " {
18
18
description = " Password for Metering Service Principal."
19
19
value = module. meshplatform . metering_service_principal_password
20
20
sensitive = true
Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ terraform {
8
8
}
9
9
}
10
10
11
+ provider "azurerm" {
12
+ # Configuration options
13
+ features {}
14
+ }
15
+
16
+ provider "azuread" {
17
+ # Configuration options
18
+ }
19
+
11
20
module "meshplatform" {
12
21
source = " meshcloud/meshplatform/azure"
13
22
Original file line number Diff line number Diff line change 1
1
2
- output "replicator_service_principal " {
2
+ output "replicator_credentials " {
3
3
description = " Replicator Service Principal."
4
4
value = module. meshplatform . replicator_service_principal
5
5
}
6
6
7
- output "replicator_service_principal_password " {
7
+ output "replicator_client_secret " {
8
8
description = " Password for Replicator Service Principal."
9
9
value = module. meshplatform . replicator_service_principal_password
10
10
sensitive = true
11
11
}
12
12
13
- output "metering_service_principal " {
13
+ output "metering_credentials " {
14
14
description = " Metering Service Principal."
15
15
value = module. meshplatform . metering_service_principal
16
16
}
17
17
18
- output "metering_service_principal_password " {
18
+ output "metering_client_secret " {
19
19
description = " Password for Metering Service Principal."
20
20
value = module. meshplatform . metering_service_principal_password
21
21
sensitive = true
Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ terraform {
8
8
}
9
9
}
10
10
11
+ provider "azurerm" {
12
+ # Configuration options
13
+ features {}
14
+ }
15
+
16
+ provider "azuread" {
17
+ # Configuration options
18
+ }
19
+
11
20
module "meshplatform" {
12
21
source = " meshcloud/meshplatform/azure"
13
22
Original file line number Diff line number Diff line change 1
- output "replicator_service_principal " {
1
+ output "replicator_credentials " {
2
2
description = " Replicator Service Principal."
3
3
value = module. meshplatform . replicator_service_principal
4
4
}
5
5
6
- output "replicator_service_principal_password " {
6
+ output "replicator_client_secret " {
7
7
description = " Password for Replicator Service Principal."
8
8
value = module. meshplatform . replicator_service_principal_password
9
9
sensitive = true
10
10
}
11
11
12
- output "metering_service_principal " {
12
+ output "metering_credentials " {
13
13
description = " Metering Service Principal."
14
14
value = module. meshplatform . metering_service_principal
15
15
}
16
16
17
- output "metering_service_principal_password " {
17
+ output "metering_client_secret " {
18
18
description = " Password for Metering Service Principal."
19
19
value = module. meshplatform . metering_service_principal_password
20
20
sensitive = true
Original file line number Diff line number Diff line change @@ -135,3 +135,28 @@ resource "azuread_application_password" "application_pw" {
135
135
# from = azuread_application_password.spp_pw
136
136
# to = azuread_application_password.service_principal_pw
137
137
# }
138
+
139
+ moved {
140
+ from = azurerm_role_assignment. meshcloud_kraken
141
+ to = azurerm_role_assignment. meshcloud_metering
142
+ }
143
+
144
+ moved {
145
+ from = azurerm_role_definition. meshcloud_kraken_cloud_inventory_role
146
+ to = azurerm_role_definition. meshcloud_metering_cloud_inventory_role
147
+ }
148
+
149
+ moved {
150
+ from = azurerm_role_assignment. meshcloud_kraken_cloud_inventory
151
+ to = azurerm_role_assignment. meshcloud_metering_cloud_inventory
152
+ }
153
+
154
+ moved {
155
+ from = azuread_application. meshcloud_kraken
156
+ to = azuread_application. meshcloud_metering
157
+ }
158
+
159
+ moved {
160
+ from = azuread_service_principal. meshcloud_kraken
161
+ to = azuread_service_principal. meshcloud_metering
162
+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "credentials" {
3
3
value = {
4
4
Enterprise_Application_Object_ID = azuread_service_principal.meshcloud_metering.id
5
5
Application_Client_ID = azuread_application.meshcloud_metering.application_id
6
- Client_Secret = " Execute `terraform output service_principal_password ` to see the password"
6
+ Client_Secret = " Execute `terraform output metering_service_principal_password ` to see the password"
7
7
}
8
8
}
9
9
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "credentials" {
3
3
value = {
4
4
Enterprise_Application_Object_ID = azuread_service_principal.meshcloud_replicator.id
5
5
Application_Client_ID = azuread_application.meshcloud_replicator.application_id
6
- Client_Secret = " Execute `terraform output service_principal_password ` to see the password"
6
+ Client_Secret = " Execute `terraform output replicator_service_principal_password ` to see the password"
7
7
}
8
8
}
9
9
You can’t perform that action at this time.
0 commit comments