dorset-ics / healthcare-data-exchange

A FHIR based integration and interoperability platform to support a regional healthcare network.
https://dorset-ics.github.io/healthcare-data-exchange/
MIT License
6 stars 6 forks source link

AB#30325 make app reg an enterprise app #3

Closed johncollinson2001 closed 3 months ago

johncollinson2001 commented 3 months ago

NOTE - this PR was originally raised by Frances in ADO, and has been recreated here in GH.

gaurarpit commented 3 months ago
pre-commit hook(s) made changes.
If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.
To run `pre-commit` as part of git workflow, use `pre-commit install`.
All changes made by hooks:
diff --git a/infrastructure/app-registration.tf b/infrastructure/app-registration.tf
index 5b7de12..55d659d 100644
--- a/infrastructure/app-registration.tf
+++ b/infrastructure/app-registration.tf
@@ -74,8 +74,8 @@ resource "azuread_application_pre_authorized" "azcli" {
 }

 resource "azuread_service_principal" "app" {
-  client_id                = azuread_application.app.application_id
-  owners                   = var.app_registration_owners
+  client_id = azuread_application.app.application_id
+  owners    = var.app_registration_owners
   tags = [
     "AppServiceIntegratedApp",
     "WindowsAzureActiveDirectoryIntegratedApp",
Error: Process completed with exit code 1.
gaurarpit commented 3 months ago

ahh... an accidental push caused anger issues to pre-commit . undoing that.

gaurarpit commented 3 months ago

Life is good again. Merging it in.