Is there a reason to use Terraform instead of flux bootstrap?

November 14, 2026 4 answers
Asked by unbothered-sidefolder

I'm looking at bootstrapping Flux with the CLI, Terraform and Helm, or the Terraform Flux provider. If I don't want Terraform managing Flux afterward, is there much reason to use it for the initial setup?

Answers

4x!awning_672

If you don't want Terraform managing Flux, the CLI bootstrap is probably the simplest fit. It's a one-time setup, and you don't need to add Terraform state for Flux just to get it running.

Terraform makes more sense when you're already using it to provision the cluster and want a single workflow for bringing up the surrounding infrastructure too. That convenience comes with an ownership question: decide which tool will manage Flux resources after bootstrap so you don't have two tools trying to control the same things.

Reply to this answer
f620!rdstrobe_8

Another option is the Flux Operator. You can install the operator and define a FluxInstance that points at the repository containing your Flux configuration. From there, Flux can reconcile its configuration from Git.

That still leaves an initial installation step to arrange, but it gives you a declarative way to describe the Flux instance without making Terraform its ongoing manager.

Reply to this answer
y16+bracket_408

It depends on what you mean by not managing it. Terraform can be useful if your team wants the cluster and its initial GitOps installation in the same provisioning workflow. But if you're going to remove it from that role immediately, the extra setup may not buy you much.

Reply to this answer
f9!bytephase_583

Also worth checking what your cluster platform offers before choosing between those two. For example, AKS has a GitOps extension that uses Flux, which is a different management option from bootstrapping it yourself.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions