Skip to content

Commit

Permalink
Mark client_id as sensitive (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekzter authored Nov 30, 2024
1 parent 3b76900 commit 6b6622e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
26 changes: 13 additions & 13 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/modules/service-principal/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource azuread_application app {
}

resource azuread_service_principal spn {
application_id = azuread_application.app.application_id
application_id = azuread_application.app.client_id
owners = [data.azuread_client_config.current.object_id]
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/service-principal/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
output application_id {
value = azuread_application.app.application_id
value = azuread_application.app.client_id
}
output object_id {
value = azuread_service_principal.spn.object_id
Expand Down
1 change: 1 addition & 0 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ output storage_key {
value = azurerm_storage_account.minecraft.primary_access_key
}
output workflow_sp_application_id {
sensitive = true
value = local.workflow_sp_application_id
}
output workflow_sp_application_secret {
Expand Down

0 comments on commit 6b6622e

Please sign in to comment.