Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentik_flow_stage_binding missing option to enable "Evaluate when stage is run" #601

Open
matthias-bruhse opened this issue Dec 6, 2024 · 2 comments

Comments

@matthias-bruhse
Copy link
Contributor

The authentik_flow_stage_binding resource is missing the options to enable "Evaluate when stage is run". Currently, only evaluate_on_plan exists, which is labeled as optional and defaults to true, but setting it to false causes an error since no "Evaluate when *" option is set:

Error: HTTP Error '400 Bad Request' during request 'PUT /api/v3/flows/bindings/1e108668-f0f7-4931-aab4-7c620ea080fa/': "{"non_field_errors":["Either evaluation on plan or evaluation on run must be enabled"]}"
@BeryJu
Copy link
Member

BeryJu commented Dec 6, 2024

The field you're looking for is re_evaluate_policies (we changed the name in the UI to make more sense but the field still has the same name under the hood in the database, API and in terraform)

@matthias-bruhse
Copy link
Contributor Author

Thanks, could have seen that one.

suggestion: might be worth it to change at least the terraform variable to something like evaluate_on_run for the same reason of making it "make more sense" and be more intuitive/in-line with evaluate_on_plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants