File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
meshcloud-idp-lookup-service-principal
meshcloud-metering-service-principal
meshcloud-replicator-service-principal Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ output "service_principal" {
2
2
description = " Service Principal application id and object id"
3
3
value = {
4
4
object_id = azuread_service_principal.meshcloud_idp_lookup.id
5
- app_id = azuread_service_principal.meshcloud_idp_lookup.application_id
5
+ app_id = azuread_service_principal.meshcloud_idp_lookup.client_id
6
6
password = " Execute `terraform output idp_lookup_service_principal_password` to see the password"
7
7
}
8
8
}
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ resource "time_rotating" "replicator_secret_rotation" {
93
93
}
94
94
95
95
resource "azuread_application_password" "application_pw" {
96
- application_id = azuread_application. meshcloud_metering . client_id
96
+ application_id = azuread_application. meshcloud_metering . id
97
97
rotate_when_changed = {
98
98
rotation = time_rotating.replicator_secret_rotation.id
99
99
}
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ resource "time_rotating" "replicator_secret_rotation" {
148
148
rotation_days = 365
149
149
}
150
150
resource "azuread_application_password" "application_pw" {
151
- application_id = azuread_application. meshcloud_replicator . client_id
151
+ application_id = azuread_application. meshcloud_replicator . id
152
152
rotate_when_changed = {
153
153
rotation = time_rotating.replicator_secret_rotation.id
154
154
}
Original file line number Diff line number Diff line change @@ -44,5 +44,5 @@ resource "azuread_application" "meshcloud_sso" {
44
44
}
45
45
46
46
resource "azuread_application_password" "meshcloud_sso" {
47
- application_id = azuread_application. meshcloud_sso . client_id
47
+ application_id = azuread_application. meshcloud_sso . id
48
48
}
You can’t perform that action at this time.
0 commit comments