# Where to use providers like Flux-CD?

**URL:** <https://discuss.hashicorp.com/t/where-to-use-providers-like-flux-cd/37949>\
**Category:** Terraform Providers\
**Created:** [April 4, 2022, 8:18am UTC](https://discuss.hashicorp.com/t/where-to-use-providers-like-flux-cd/37949 "2022-04-04T08:18:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkLFT](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/marklft/32/26960_2.png) [@MarkLFT](https://discuss.hashicorp.com/u/MarkLFT)\
**Post date:** [April 4, 2022, 8:18am UTC](https://discuss.hashicorp.com/t/where-to-use-providers-like-flux-cd/37949/1 "2022-04-04T08:18:44Z")

</div>

I have a tf file which uses the ESXI provider to create VMs. I then use the cloud-init within this to install the k8s cluster. I know want to install and configure Flux-CD onto the newly created VM.

Should I use the FluxCD provider on the original Terraform computer, i.e. in the same tf file, or should it be run in a new TF installation inside the newly created VM?

Sorry, for the noob question, trying to get my head around what is actually running where.
