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

Aggressive Keycloak polling/high bandwidth usage #65

Open
Tuhis opened this issue Feb 29, 2024 · 10 comments
Open

Aggressive Keycloak polling/high bandwidth usage #65

Tuhis opened this issue Feb 29, 2024 · 10 comments

Comments

@Tuhis
Copy link

Tuhis commented Feb 29, 2024

The provider seems to authenticate to keycloak at least tens of times per minute. I've no further insight whether it is polling something, but compared to other crossplane providers the network I/O seems to be quite high at roughly 3.4 MB/s. There iare currently 5 Protocolmapper, 3 Client and 6 Role resources managed by the provider. In comparison aws family providers use 5-20 kB/s with more resources managed by them.

This sounds pretty excessive to me. Is this expected behavior of the provider? Is there something I could help with to get into the root cause of the behavior and possibly get rid of that?

@Breee
Copy link
Collaborator

Breee commented Mar 1, 2024

Thanks for bringing that up - I did not investigate yet, but will do asap.
Probaby @haarchri has an Idea which components of the provider can cause this behaviour

@haarchri
Copy link
Member

@Tuhis can you give us the resource with a --show-managed-fields ? wonder if we have a diff all the time which causes an update

@Tuhis
Copy link
Author

Tuhis commented Mar 11, 2024

@haarchri which resource you're referring to?

@haarchri
Copy link
Member

There iare currently 5 Protocolmapper, 3 Client and 6 Role resources managed by the provider

@Tuhis
Copy link
Author

Tuhis commented Mar 11, 2024

Maybe this snippet of logs helps to limit the number or type of resources you'd need for closer analysis?

2024-03-11T20:34:19Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:19Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"grafana-4dlnw-6jdrx","uid":"b9046a71-2643-4252-aef0-199b44dbf523","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71953169"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:19Z	DEBUG	provider-keycloak	refresh ended	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:17.560859Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Refreshing state... [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.363894Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Refresh complete [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.445238Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Drift detected (update)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.448376Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.448444Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.451539Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.451572Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:19Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "args": ["plan", "-refresh=false", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:19Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:18.044699Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.761397Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.761533Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:19Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "16e61823-8af8-4b6e-b64b-bd101ab873e8", "name": "kibana-8kzbb-7lx6b", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:19Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"kibana-8kzbb-7lx6b"}, "uid": "16e61823-8af8-4b6e-b64b-bd101ab873e8", "version": "71952535", "external-name": "f6768f74-6c77-4811-968d-5224172073d0", "requeue-after": "2024-03-11T20:44:19Z"}
2024-03-11T20:34:19Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:19Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"kibana-8kzbb-7lx6b","uid":"16e61823-8af8-4b6e-b64b-bd101ab873e8","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952535"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:18.956287Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.055105Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.055242Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "name": "pgadmin-client-roles-mapper", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-client-roles-mapper"}, "uid": "6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "version": "71952672", "external-name": "19942120-a8c3-447c-9ddf-2554d94b876d", "requeue-after": "2024-03-11T20:44:21Z"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:21Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"pgadmin-client-roles-mapper","uid":"6bad6cd5-16fe-473e-909d-1056a7f0b5c0","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952672"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.049936Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.148944Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.149088Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "e3488afe-9aa3-4bb7-a7a8-be65099330c4", "name": "pgadmin-xb645-fqp58", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-xb645-fqp58"}, "uid": "e3488afe-9aa3-4bb7-a7a8-be65099330c4", "version": "71952711", "external-name": "883f44d6-b1e5-4554-b262-cb339f565b1a", "requeue-after": "2024-03-11T20:44:21Z"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:21Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"pgadmin-xb645-fqp58","uid":"e3488afe-9aa3-4bb7-a7a8-be65099330c4","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952711"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.653439Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.560241Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.560379Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "85a38f7a-ee17-452b-be8d-48cde774c3f9", "name": "grafana-client-roles-mapper", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"grafana-client-roles-mapper"}, "uid": "85a38f7a-ee17-452b-be8d-48cde774c3f9", "version": "71952824", "external-name": "d1006a4f-3943-440a-8a08-eeb7bf4f2f82", "requeue-after": "2024-03-11T20:44:21Z"}
2024-03-11T20:34:21Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:21Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"grafana-client-roles-mapper","uid":"85a38f7a-ee17-452b-be8d-48cde774c3f9","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952824"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:19.559296Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Refreshing state... [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.456077Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Refresh complete [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.545276Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.558222Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.558294Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Modifying... [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.262125Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Modifications complete after 0s [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.444812Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.475377Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.475427Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "grafana-4dlnw-6jdrx", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"grafana-4dlnw-6jdrx"}}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:20.144602Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Refreshing state... [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.044880Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Refresh complete [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.065143Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.149035Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.149115Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Modifying... [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.852248Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Modifications complete after 0s [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.945348Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.955265Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.955301Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "kibana-8kzbb-7lx6b", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:22Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"kibana-8kzbb-7lx6b"}}
2024-03-11T20:34:23Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:23Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.345141Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Refreshing state... [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.059376Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Refresh complete [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.063790Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.151696Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.151777Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Modifying... [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.858732Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Modifications complete after 0s [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.944681Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.951963Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.952007Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:23Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "pgadmin-xb645-fqp58", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:23Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-xb645-fqp58"}}
2024-03-11T20:34:23Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.445639Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Refreshing state... [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.254095Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Refresh complete [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.258196Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.350672Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.350763Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Modifying... [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.155410Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Modifications complete after 0s [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.245237Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.252051Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.252088Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "pgadmin-client-roles-mapper", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-client-roles-mapper"}}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	refresh ended	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:22.744938Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Refreshing state... [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.459596Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Refresh complete [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.465234Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Drift detected (update)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.546465Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.546534Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.550130Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.550165Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "args": ["plan", "-refresh=false", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:21.862171Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Refreshing state... [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.752375Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Refresh complete [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.846215Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.854295Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.854373Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Modifying... [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.544771Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Modifications complete after 0s [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.559845Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.649052Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.649097Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "grafana-client-roles-mapper", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"grafana-client-roles-mapper"}}
2024-03-11T20:34:24Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:25Z	DEBUG	provider-keycloak	refresh ended	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:23.155283Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Refreshing state... [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.046558Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Refresh complete [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.060602Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Drift detected (update)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.146475Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.146544Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.149772Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.149812Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:25Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "args": ["plan", "-refresh=false", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	refresh ended	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.248213Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Refreshing state... [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.146436Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Refresh complete [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.160032Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Drift detected (update)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.163095Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.163166Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.166199Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.166232Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "args": ["plan", "-refresh=false", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	refresh ended	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.555158Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Refreshing state... [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.453611Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Refresh complete [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.464166Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Drift detected (update)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.547241Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.547318Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.550117Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.550162Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "args": ["plan", "-refresh=false", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.744618Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.753758Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.753907Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "b9046a71-2643-4252-aef0-199b44dbf523", "name": "grafana-4dlnw-6jdrx", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"grafana-4dlnw-6jdrx"}, "uid": "b9046a71-2643-4252-aef0-199b44dbf523", "version": "71953169", "external-name": "48822c90-e2a3-4139-8b2d-008657c53918", "requeue-after": "2024-03-11T20:44:26Z"}
2024-03-11T20:34:26Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:26Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"grafana-4dlnw-6jdrx","uid":"b9046a71-2643-4252-aef0-199b44dbf523","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71953169"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:27Z	DEBUG	provider-keycloak	refresh ended	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:24.860281Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Refreshing state... [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.954757Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Refresh complete [id=d1006a4f-3943-440a-8a08-eeb7bf4f2f82]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.045688Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"d1006a4f-3943-440a-8a08-eeb7bf4f2f82\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Drift detected (update)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.054045Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.054114Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.057196Z\",\"changes\":{\"add\":0,\"change\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.057239Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:27Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "args": ["plan", "-refresh=false", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:27Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:25.362004Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.347396Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.347569Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:27Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "16e61823-8af8-4b6e-b64b-bd101ab873e8", "name": "kibana-8kzbb-7lx6b", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:27Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"kibana-8kzbb-7lx6b"}, "uid": "16e61823-8af8-4b6e-b64b-bd101ab873e8", "version": "71952535", "external-name": "f6768f74-6c77-4811-968d-5224172073d0", "requeue-after": "2024-03-11T20:44:27Z"}
2024-03-11T20:34:27Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:27Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"kibana-8kzbb-7lx6b","uid":"16e61823-8af8-4b6e-b64b-bd101ab873e8","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952535"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.659202Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.449718Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.449857Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "name": "pgadmin-client-roles-mapper", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-client-roles-mapper"}, "uid": "6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "version": "71952672", "external-name": "19942120-a8c3-447c-9ddf-2554d94b876d", "requeue-after": "2024-03-11T20:44:28Z"}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:28Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"pgadmin-client-roles-mapper","uid":"6bad6cd5-16fe-473e-909d-1056a7f0b5c0","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952672"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.358924Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.551382Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.551524Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "e3488afe-9aa3-4bb7-a7a8-be65099330c4", "name": "pgadmin-xb645-fqp58", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-xb645-fqp58"}, "uid": "e3488afe-9aa3-4bb7-a7a8-be65099330c4", "version": "71952711", "external-name": "883f44d6-b1e5-4554-b262-cb339f565b1a", "requeue-after": "2024-03-11T20:44:28Z"}
2024-03-11T20:34:28Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:28Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"pgadmin-xb645-fqp58","uid":"e3488afe-9aa3-4bb7-a7a8-be65099330c4","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952711"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	plan ended	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.347680Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.347813Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.347960Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n"}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	Called plan on the resource.	{"uid": "85a38f7a-ee17-452b-be8d-48cde774c3f9", "name": "grafana-client-roles-mapper", "gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "upToDate": false}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	Successfully requested update of external resource	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"grafana-client-roles-mapper"}, "uid": "85a38f7a-ee17-452b-be8d-48cde774c3f9", "version": "71952824", "external-name": "d1006a4f-3943-440a-8a08-eeb7bf4f2f82", "requeue-after": "2024-03-11T20:44:29Z"}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/85a38f7a-ee17-452b-be8d-48cde774c3f9", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:29Z	DEBUG	events	Successfully requested update of external resource	{"type": "Normal", "object": {"kind":"ProtocolMapper","name":"grafana-client-roles-mapper","uid":"85a38f7a-ee17-452b-be8d-48cde774c3f9","apiVersion":"client.keycloak.crossplane.io/v1alpha1","resourceVersion":"71952824"}, "reason": "UpdatedExternalResource"}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:26.956021Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Refreshing state... [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.855818Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Refresh complete [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.961024Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.057249Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.057331Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Modifying... [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.845701Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx: Modifications complete after 0s [id=48822c90-e2a3-4139-8b2d-008657c53918]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.944718Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.grafana-4dlnw-6jdrx\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"grafana-4dlnw-6jdrx\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"48822c90-e2a3-4139-8b2d-008657c53918\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.955873Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.955915Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "grafana-4dlnw-6jdrx", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"grafana-4dlnw-6jdrx"}}
2024-03-11T20:34:29Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/b9046a71-2643-4252-aef0-199b44dbf523", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:30Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:27.654931Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Refreshing state... [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.563178Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Refresh complete [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.566645Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.650984Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:29.651080Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Modifying... [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.361952Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b: Modifications complete after 0s [id=f6768f74-6c77-4811-968d-5224172073d0]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.445462Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.kibana-8kzbb-7lx6b\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"kibana-8kzbb-7lx6b\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"f6768f74-6c77-4811-968d-5224172073d0\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.458841Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.458882Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:30Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "kibana-8kzbb-7lx6b", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:30Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"kibana-8kzbb-7lx6b"}}
2024-03-11T20:34:30Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/16e61823-8af8-4b6e-b64b-bd101ab873e8", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.657861Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Refreshing state... [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.464548Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Refresh complete [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.558800Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.648221Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.648293Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Modifying... [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.358533Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper: Modifications complete after 0s [id=19942120-a8c3-447c-9ddf-2554d94b876d]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.446158Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-client-roles-mapper\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-client-roles-mapper\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"19942120-a8c3-447c-9ddf-2554d94b876d\",\"elapsed_seconds\":0},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.467590Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.467634Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "pgadmin-client-roles-mapper", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-client-roles-mapper"}}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/6bad6cd5-16fe-473e-909d-1056a7f0b5c0", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	apply async ended	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.4.6\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:28.758011Z\",\"terraform\":\"1.4.6\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Refreshing state... [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.556588Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Refresh complete [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.560419Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Plan to update\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.648009Z\",\"change\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 1 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:30.648091Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Modifying... [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.447321Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58: Modifications complete after 1s [id=883f44d6-b1e5-4554-b262-cb339f565b1a]\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.544702Z\",\"hook\":{\"resource\":{\"addr\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"module\":\"\",\"resource\":\"keycloak_generic_protocol_mapper.pgadmin-xb645-fqp58\",\"implied_provider\":\"keycloak\",\"resource_type\":\"keycloak_generic_protocol_mapper\",\"resource_name\":\"pgadmin-xb645-fqp58\",\"resource_key\":null},\"action\":\"update\",\"id_key\":\"id\",\"id_value\":\"883f44d6-b1e5-4554-b262-cb339f565b1a\",\"elapsed_seconds\":1},\"type\":\"apply_complete\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 1 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.554402Z\",\"changes\":{\"add\":0,\"change\":1,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2024-03-11T20:34:31.554447Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	Reconcile request has been requeued.	{"gvk": "client.keycloak.crossplane.io/v1alpha1, Kind=ProtocolMapper", "name": "pgadmin-xb645-fqp58", "rateLimiterName": "", "when": "0s"}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	Reconciling	{"controller": "managed/client.keycloak.crossplane.io/v1alpha1, kind=protocolmapper", "request": {"name":"pgadmin-xb645-fqp58"}}
2024-03-11T20:34:31Z	DEBUG	provider-keycloak	Running terraform	{"workspace": "/tmp/e3488afe-9aa3-4bb7-a7a8-be65099330c4", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}

@Tuhis
Copy link
Author

Tuhis commented Mar 11, 2024

And here is one of the ProtocolMappers:

apiVersion: client.keycloak.crossplane.io/v1alpha1
kind: ProtocolMapper
metadata:
  annotations:
    crossplane.io/external-create-pending: "2024-02-22T20:52:52Z"
    crossplane.io/external-create-succeeded: "2024-02-22T20:52:52Z"
    crossplane.io/external-name: d1006a4f-3943-440a-8a08-eeb7bf4f2f82
    upjet.crossplane.io/provider-meta: "null"
  creationTimestamp: "2024-02-22T20:52:52Z"
  finalizers:
  - finalizer.managedresource.crossplane.io
  generation: 2
  labels:
    kustomize.toolkit.fluxcd.io/name: grafana-iam
    kustomize.toolkit.fluxcd.io/namespace: flux-system
  managedFields:
  - apiVersion: client.keycloak.crossplane.io/v1alpha1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:kustomize.toolkit.fluxcd.io/name: {}
          f:kustomize.toolkit.fluxcd.io/namespace: {}
      f:spec:
        f:forProvider:
          f:clientIdSelector:
            f:matchLabels:
              f:crossplane.io/claim-name: {}
              f:crossplane.io/claim-namespace: {}
            f:policy:
              f:resolution: {}
          f:config:
            f:access.token.claim: {}
            f:claim.name: {}
            f:id.token.claim: {}
            f:introspection.token.claim: {}
            f:jsonType.label: {}
            f:multivalued: {}
            f:user.attribute: {}
            f:userinfo.token.claim: {}
            f:usermodel.clientRoleMapping.clientId: {}
            f:usermodel.clientRoleMapping.rolePrefix: {}
          f:name: {}
          f:protocol: {}
          f:protocolMapper: {}
          f:realmId: {}
    manager: kustomize-controller
    operation: Apply
    time: "2024-02-22T20:52:52Z"
  - apiVersion: client.keycloak.crossplane.io/v1alpha1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:crossplane.io/external-create-pending: {}
          f:crossplane.io/external-create-succeeded: {}
          f:crossplane.io/external-name: {}
          f:upjet.crossplane.io/provider-meta: {}
        f:finalizers:
          .: {}
          v:"finalizer.managedresource.crossplane.io": {}
      f:spec:
        f:forProvider:
          f:clientId: {}
          f:clientIdRef:
            .: {}
            f:name: {}
        f:initProvider: {}
    manager: provider
    operation: Update
    time: "2024-02-22T20:52:53Z"
  - apiVersion: client.keycloak.crossplane.io/v1alpha1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        .: {}
        f:atProvider:
          .: {}
          f:clientId: {}
          f:config:
            .: {}
            f:access.token.claim: {}
            f:claim.name: {}
            f:id.token.claim: {}
            f:introspection.token.claim: {}
            f:jsonType.label: {}
            f:multivalued: {}
            f:user.attribute: {}
            f:userinfo.token.claim: {}
            f:usermodel.clientRoleMapping.clientId: {}
          f:id: {}
          f:name: {}
          f:protocol: {}
          f:protocolMapper: {}
          f:realmId: {}
        f:conditions:
          .: {}
          k:{"type":"AsyncOperation"}:
            .: {}
            f:lastTransitionTime: {}
            f:reason: {}
            f:status: {}
            f:type: {}
          k:{"type":"LastAsyncOperation"}:
            .: {}
            f:lastTransitionTime: {}
            f:reason: {}
            f:status: {}
            f:type: {}
          k:{"type":"Ready"}:
            .: {}
            f:lastTransitionTime: {}
            f:reason: {}
            f:status: {}
            f:type: {}
          k:{"type":"Synced"}:
            .: {}
            f:lastTransitionTime: {}
            f:reason: {}
            f:status: {}
            f:type: {}
    manager: provider
    operation: Update
    subresource: status
    time: "2024-03-11T20:27:09Z"
  name: grafana-client-roles-mapper
  resourceVersion: "71952824"
  uid: 85a38f7a-ee17-452b-be8d-48cde774c3f9
spec:
  deletionPolicy: Delete
  forProvider:
    clientId: c9e7418d-eeb9-4278-8e04-3f1521464581
    clientIdRef:
      name: grafana-4dlnw-pmfpf
    clientIdSelector:
      matchLabels:
        crossplane.io/claim-name: grafana
        crossplane.io/claim-namespace: monitoring
      policy:
        resolution: Required
    config:
      access.token.claim: "false"
      claim.name: resource_access.$${client_id}.roles
      id.token.claim: "true"
      introspection.token.claim: "false"
      jsonType.label: String
      multivalued: "true"
      user.attribute: foo
      userinfo.token.claim: "false"
      usermodel.clientRoleMapping.clientId: redacted-grafana
      usermodel.clientRoleMapping.rolePrefix: ""
    name: client roles
    protocol: openid-connect
    protocolMapper: oidc-usermodel-client-role-mapper
    realmId: redacted-prod
  initProvider: {}
  managementPolicies:
  - '*'
  providerConfigRef:
    name: default
status:
  atProvider:
    clientId: c9e7418d-eeb9-4278-8e04-3f1521464581
    config:
      access.token.claim: "false"
      claim.name: resource_access.${client_id}.roles
      id.token.claim: "true"
      introspection.token.claim: "false"
      jsonType.label: String
      multivalued: "true"
      user.attribute: foo
      userinfo.token.claim: "false"
      usermodel.clientRoleMapping.clientId: redacted-grafana
    id: d1006a4f-3943-440a-8a08-eeb7bf4f2f82
    name: client roles
    protocol: openid-connect
    protocolMapper: oidc-usermodel-client-role-mapper
    realmId: redacted-prod
  conditions:
  - lastTransitionTime: "2024-02-22T20:52:54Z"
    reason: Available
    status: "True"
    type: Ready
  - lastTransitionTime: "2024-03-11T13:44:11Z"
    reason: ReconcileSuccess
    status: "True"
    type: Synced
  - lastTransitionTime: "2024-03-11T20:27:09Z"
    reason: Finished
    status: "True"
    type: AsyncOperation
  - lastTransitionTime: "2024-03-11T13:44:11Z"
    reason: Success
    status: "True"
    type: LastAsyncOperation

@Tuhis
Copy link
Author

Tuhis commented Mar 11, 2024

In addition to the bandwidth usage, the provider used about 4 vCPUs and 4 GiB memory before applying limits of 1 vCPU and 2 GiB memory.

@haarchri
Copy link
Member

haarchri commented Mar 11, 2024

Looks Like that

usermodel.clientRoleMapping.rolePrefix: "" 

is Not in status.atProvider - so this causes the diff ?!

@Tuhis
Copy link
Author

Tuhis commented Apr 10, 2024

@haarchri you are right! That plus few other similar differences in ProtocolMapper resources was the diff. Once removing the empty value from input, the reconciliation quieted down. Thank you for your help in figuring this one out!

It seems that Keycloak API sends only the config params for which the value differs from Keycloak default value. However, the Keycloak web console sends to the Keycloak all the config options visible in the UI, no matter whether they're at default or not. As I've used the web console requests as reference for defining ProtocolMapper resources, I defined also those config options with default or empty value too.

My issue is now solved, but the question remains whether the provider should be updated to ignore the diff for fields where API doesn't give any value?

@Breee
Copy link
Collaborator

Breee commented Apr 18, 2024

Yeah, we have to evaluate if initProvider or ignoring the fields in lateInitializers help to avoid the issue.
If we can fix it on provider side, we should

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

3 participants