Closed aristapimenta closed 1 year ago
Hi @aristapimenta Sorry for late reply.
tfctl
is deprecated and will be served as a development tool only.
We're moving towards integrating all Terraform commands into Weave GitOps (gitops
) CLI.
Thing's still a bit messy at the moment, so please stay tuned.
Thanks @chanwit!
Hi @chanwit,
I noticed that the
gitops
CLI has lots of overlapping commands withtfctl
. Which one is the recommended CLI?Also, I use
curl -s https://fluxcd.io/install.sh | sudo bash
(from here) in combination withflux install --export
on a GitHub Workflow that runs on a schedule for periodically checking for Flux upgrades and opening pull requests when a new version is available, i.e. whenflux install --export > gotk-components.yaml
produces a diff. I want to do the same for tf-controller. Right now we have thev0.15.0-rc.1
release/tag but it doesn't contain the compiledtfctl
binary, therefore I'm kinda stuck with the tf-controller Helm chart to get the latest version right now.It would be really cool if tf-controller integrated well, for example, with this binary manager: https://github.com/marcosnils/bin So when I run
bin install https://github.com/weaveworks/tf-controller
I get the binary of the latest version. But right now this is what happens:But it does work for the
gitops
CLI:This or something like
curl -s https://fluxcd.io/install.sh | sudo bash
would be amazing!