bcgov / moh-keycloak-client-configurations

Apache License 2.0
1 stars 2 forks source link

idp restriction module #604

Closed filipflorek closed 1 month ago

filipflorek commented 2 months ago

Changes being made

Just an experiment

github-actions[bot] commented 2 months ago

Terraform Format and Style 🖌failure

Terraform formatting errors ``` keycloak-dev/realms/moh_applications/clients/plr/main.tf --- old/keycloak-dev/realms/moh_applications/clients/plr/main.tf +++ new/keycloak-dev/realms/moh_applications/clients/plr/main.tf @@ -8,7 +8,7 @@ client_role_mapper_add_to_userinfo = false description = "The Provider and Location Registry (PLR) is a standards-based repository of core provider data supplied by authorized sources, and available to authorized consumers, that facilitates the formal exchange of health information." mapper_name = "PLR Role" - browser_id = "9caca0f9-1c0c-4def-85c6-637d1c8a4d24" + browser_id = "9caca0f9-1c0c-4def-85c6-637d1c8a4d24" roles = { "DSR_USER" = { "name" = "DSR_USER" modules/payara-client/main.tf --- old/modules/payara-client/main.tf +++ new/modules/payara-client/main.tf @@ -64,7 +64,7 @@ } variable "browser_id" { - type = string + type = string default = null } ```
To resolve the issues:
Terraform format instructions

Pushed by: @filipflorek, Action: pull_request

github-actions[bot] commented 2 months ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan ``` + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.PLR_SIT.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "1197df69-9199-49a5-a49a-c7d43d35551c" name = "PLR SIT" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.PLR_STG.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "2e161683-3c4d-4a2a-a86b-c83f2fe3e3d7" name = "PLR STG" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.PLR_UAT.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "045f3224-9637-4785-a661-fc6f028804d2" name = "PLR UAT" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SA-DBAAC-PORTAL.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "a008f329-8543-46f8-938f-40112e083ea3" name = "SA DBAAC Portal" # (24 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SA-HIBC-SERVICE-BC-PORTAL.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "b3cfa2d4-42e7-46d1-b67f-b52e9389185b" name = "SA Community Portal" # (24 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SA-SFDC.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "ee4511ec-cd12-4869-b56a-6ca80cbdb72e" name = "Special Authority" # (24 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SFDS.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "a29eac56-46fc-4f5f-bf58-480e361d26fb" name = "SFDS" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SWT.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "ab06ae07-850c-4776-959c-83db82f43d24" name = "SWT" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SWT_STG.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "dc19c6b7-e4b7-4305-80be-de0b2bfa9d5a" name = "SWT STG" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.TAP.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "eecb5a57-e781-4e6d-9871-752f5541d67b" name = "TAP" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } Plan: 0 to add, 51 to change, 0 to destroy. ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. ```

Pushed by: @filipflorek, Action: pull_request

github-actions[bot] commented 2 months ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan ``` + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.PLR_SIT.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "1197df69-9199-49a5-a49a-c7d43d35551c" name = "PLR SIT" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.PLR_STG.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "2e161683-3c4d-4a2a-a86b-c83f2fe3e3d7" name = "PLR STG" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.PLR_UAT.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "045f3224-9637-4785-a661-fc6f028804d2" name = "PLR UAT" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SA-DBAAC-PORTAL.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "a008f329-8543-46f8-938f-40112e083ea3" name = "SA DBAAC Portal" # (24 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SA-HIBC-SERVICE-BC-PORTAL.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "b3cfa2d4-42e7-46d1-b67f-b52e9389185b" name = "SA Community Portal" # (24 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SA-SFDC.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "ee4511ec-cd12-4869-b56a-6ca80cbdb72e" name = "Special Authority" # (24 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SFDS.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "a29eac56-46fc-4f5f-bf58-480e361d26fb" name = "SFDS" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SWT.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "ab06ae07-850c-4776-959c-83db82f43d24" name = "SWT" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.SWT_STG.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "dc19c6b7-e4b7-4305-80be-de0b2bfa9d5a" name = "SWT STG" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } # module.KEYCLOAK_TEST.module.moh_applications.module.TAP.module.payara-client.keycloak_openid_client.CLIENT will be updated in-place ~ resource "keycloak_openid_client" "CLIENT" { id = "eecb5a57-e781-4e6d-9871-752f5541d67b" name = "TAP" # (25 unchanged attributes hidden) + authentication_flow_binding_overrides {} } Plan: 0 to add, 51 to change, 0 to destroy. ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. ```

Pushed by: @filipflorek, Action: pull_request