{"id":28420611,"url":"https://github.com/redhat-developer/argocd-terraform-controller","last_synced_at":"2025-06-26T16:31:27.736Z","repository":{"id":37865701,"uuid":"477171079","full_name":"redhat-developer/argocd-terraform-controller","owner":"redhat-developer","description":"Argo CD Terraform Controller","archived":false,"fork":false,"pushed_at":"2023-07-13T19:23:15.000Z","size":126,"stargazers_count":27,"open_issues_count":17,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-20T04:38:31.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-02T21:04:24.000Z","updated_at":"2025-05-13T20:45:40.000Z","dependencies_parsed_at":"2023-07-27T22:48:33.584Z","dependency_job_id":null,"html_url":"https://github.com/redhat-developer/argocd-terraform-controller","commit_stats":null,"previous_names":["sabre1041/argocd-terraform-controller"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redhat-developer/argocd-terraform-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fargocd-terraform-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fargocd-terraform-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fargocd-terraform-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fargocd-terraform-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-developer","download_url":"https://codeload.github.com/redhat-developer/argocd-terraform-controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fargocd-terraform-controller/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262102266,"owners_count":23259226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-05T03:48:52.330Z","updated_at":"2025-06-26T16:31:27.720Z","avatar_url":"https://github.com/redhat-developer.png","language":"Go","readme":"# argocd-terraform-controller\n\nArgo CD Terraform Controller\n\nStart by creating an argocd cluster with the terraform-generate plugin\ninstalled.\n\n```\nkubectl create ns argocd\nkubectl apply -k terraform-generate/kustomize-core-install -n argocd\nkubectl config set-context --current --namespace=argocd\n```\n\n\nCreate the ArgoCD Terraform controller from the yaml:\n\n```\nkubectl apply -f controller.yaml\n```\n\n\nNow, create an ArgoCD app that uses the terraform-generate plugin, the repository should contain\nthe terraform manifests you want to track:\n\n```\nargocd app create terraform-test --repo \u003cREPO URL\u003e --path \u003cREPO PATH\u003e --dest-server https://kubernetes.default.svc --dest-namespace argocd --config-management-plugin argocd-terraform-generator\n```\n\n\nSync the application to run the plugin and update the local terraform manifests\n\n```\nargocd app sync terraform-test\n```\n\n\n### Dev\nTo generate controller.yaml:\n```\n# install controller-gen and kustomize\nmake controller-gen\nmake kustomize \nmkdir bin\ncp ~/path/to/controller-gen bin/\ncp ~/path/to/kustomize bin/\nIMG=\u003cimage\u003e make deploy-file\n```\n\nTo build controller and worker images and push them:\n```\nIMG=quay.io/jsawaya/argocd-tf-controller:latest make podman-build-no-test\nIMG=quay.io/jsawaya/argocd-tf-controller:latest make podman-push\nIMG=quay.io/jsawaya/terraform-controller-worker:latest make podman-build-worker-no-test\nIMG=quay.io/jsawaya/terraform-controller-worker:latest make podman-push\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-developer%2Fargocd-terraform-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-developer%2Fargocd-terraform-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-developer%2Fargocd-terraform-controller/lists"}