Skip to content

Commit f1a3140

Browse files
author
Felix Zieger
committed
fix: remove blueprint principal
1 parent 72197c9 commit f1a3140

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

modules/meshcloud-replicator-spp/module.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ resource "azuread_service_principal_password" "spp_pw" {
152152
end_date = "2999-01-01T01:02:03Z" # no expiry
153153
}
154154

155-
data "azuread_application" "blueprint_service_principal" {
156-
application_id = "f71766dc-90d9-4b7d-bd9d-4499c4331c3f"
157-
}
155+
# Terraform does not find the blueprint service principal, even though I find it with
156+
# ` az ad sp list --filter "appId eq 'f71766dc-90d9-4b7d-bd9d-4499c4331c3f'"`
157+
# data "azuread_application" "blueprint_service_principal" {
158+
# application_id = "f71766dc-90d9-4b7d-bd9d-4499c4331c3f"
159+
# }

modules/meshcloud-replicator-spp/outputs.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ output "service_principal_password" {
1212
sensitive = true
1313
}
1414

15-
output "blueprint_service_principal_object_id" {
16-
description = "Object ID of the BluePrint Service Principal of this AAD."
17-
value = data.azuread_application.blueprint_service_principal.object_id
18-
}
15+
# Terraform does not find the blueprint service principal, even though I find it with
16+
# ` az ad sp list --filter "appId eq 'f71766dc-90d9-4b7d-bd9d-4499c4331c3f'"`
17+
# output "blueprint_service_principal_object_id" {
18+
# description = "Object ID of the BluePrint Service Principal of this AAD."
19+
# value = data.azuread_application.blueprint_service_principal.object_id
20+
# }

outputs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ output "replicator_spp_password" {
1010
sensitive = true
1111
}
1212

13-
output "blueprint_service_principal_object_id" {
14-
description = "Object ID of the BluePrint Service Principal in this AAD."
15-
value = length(module.replicator_spp) > 0 ? module.replicator_spp[0].azuread_application.blueprint_service_principal.object_id : null
16-
}
13+
# output "blueprint_service_principal_object_id" {
14+
# description = "Object ID of the BluePrint Service Principal in this AAD."
15+
# value = length(module.replicator_spp) > 0 ? module.replicator_spp[0].azuread_application.blueprint_service_principal.object_id : null
16+
# }
1717

1818
output "kraken_spp" {
1919
description = "Kraken Service Principal."

0 commit comments

Comments
 (0)