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

extra_config is empty on keycloak_openid_client data source #884

Closed
kherock opened this issue Oct 11, 2023 · 0 comments · Fixed by #885
Closed

extra_config is empty on keycloak_openid_client data source #884

kherock opened this issue Oct 11, 2023 · 0 comments · Fixed by #885

Comments

@kherock
Copy link
Contributor

kherock commented Oct 11, 2023

When resolving a Keycloak client's details using data.keycloak_openid_client, the extra_config object computes to an empty object. It seems like there's some code in place that prevents this value from being computed properly:

https://github.com/mrparkers/terraform-provider-keycloak/blob/bfee4d7cd1591b015f4db84cce12bea36b6e871f/provider/extra_config.go#L47-L50

I presume this is to avoid interfering with existing attributes that are managed outside of Terraform. I think we need to disable this condition when the provider is computing the value for a data source.

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

Successfully merging a pull request may close this issue.

1 participant