You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to request support for modifying the execution requirement of built-in flows, specifically changing the setting from DISABLED to REQUIRED. This is something that can already be done through the UI, but there is currently no straightforward way to achieve this with Terraform.
I attempted to modify the requirement of an execution in a built-in flow, but encountered the following issues:
Instead of changing the execution's requirement, it tries to add a new execution to the built-in flow, resulting in an error. (when not using the import block)
Even when attempting to use an import block, it is not possible to retrieve the execution ID because the execution is automatically created when the realm is created, and the ID is unknown.
Here is the configuration I tried:
import {
id = "realm1/registration form/${var.executionId}" # ${var.executionId} cannot be imported as it is generated during realm creation
to = keycloak_authentication_execution.registration_form_flow_execution
}
resource "keycloak_authentication_execution" "registration_form_flow_execution" {
realm_id = keycloak_realm.realm.id
parent_flow_alias = "registration form"
authenticator = "registration-terms-and-conditions"
requirement = "REQUIRED"
depends_on = [keycloak_realm.realm]
}
Discussion
No response
Motivation
I would like to request support for modifying the execution requirement of built-in flows, specifically changing the setting from DISABLED to REQUIRED. Since this is a setting that can be modified through the GUI, it should also be possible to achieve this with Terraform.
In environments where deployments have already occurred, the execution requirements of built-in flows may have been modified through the GUI. In such cases, creating new flows with Terraform would introduce unnecessary differences, which we want to avoid.
Details
No response
The text was updated successfully, but these errors were encountered:
Description
I would like to request support for modifying the execution requirement of built-in flows, specifically changing the setting from DISABLED to REQUIRED. This is something that can already be done through the UI, but there is currently no straightforward way to achieve this with Terraform.
I attempted to modify the requirement of an execution in a built-in flow, but encountered the following issues:
Here is the configuration I tried:
Discussion
No response
Motivation
I would like to request support for modifying the execution requirement of built-in flows, specifically changing the setting from DISABLED to REQUIRED. Since this is a setting that can be modified through the GUI, it should also be possible to achieve this with Terraform.
In environments where deployments have already occurred, the execution requirements of built-in flows may have been modified through the GUI. In such cases, creating new flows with Terraform would introduce unnecessary differences, which we want to avoid.
Details
No response
The text was updated successfully, but these errors were encountered: