I want to integrate argocd for Terraform resources and also set the alert on slack

Can Anyone help me with this architecture so that I could use argocd for terraform resources.

Hi @Neixr2002,

Argo CD is a GitOps tool for deploying Kubernetes apps. You store your app’s YAML files in a Git repo, and when you update them and push to the repo, Argo CD automatically redeploys the changes to your cluster.

Terraform, on the other hand, is an Infrastructure as Code tool for setting up cloud resources like VMs, networks, and databases. You usually use it in a CI/CD pipeline to run terraform plan and terraform apply to manage your infrastructure.

So, Argo CD is great for Kubernetes apps, and Terraform is for cloud infrastructure. If you want to combine them, you’d need to set up something like a Kubernetes job to run Terraform from Argo CD. Please make the context clearer.

as it is not compatible with the argocd is there a way so that argocd is able to read the terraform manifest files and if there is a need it can also trigger terraform apply job

Hi @Neixr2002,

I’m not sure if Argo CD supports it. I usually use pipelines like GitHub Actions, Jenkins, or Azure Pipelines to run Terraform plan and apply for managing infrastructure.

hii @raymond.baoly
I am still discovering and exploring that part and I have come across one CLI known as Flamingo CLI which help us in combining the fluxcd and argocd. If I am able to come up with any solution will let know. And thank you very much for your time.