Description
Use case: running the tool against an existing Kafka cluster setup with some ACLs/topics already configure in plan
mode (with a minimal state file) currently shows all the ACLs/topics that would be removed. While it is already possible to copy/paste this output and do a little bit of find/replace and other basic edits to come to a new state file that would keep these changes, it would be nice if:
- either the output is in copy/paste'able Yaml
or
- the command would have an
import
mode to generate an initialstate.yaml
from the current ACL configuration and current topic setup.
I can imagine that there are other potential users out there, with a running Kafka setup with historical, manual changes, that would like to switch to a GitOps approach. In my case, it was a rather fresh cluster, so replicating the current state manually into a state.yaml file was rather easy.
I think that the "output" proposal would be a rather fast fix?