{"id":17255474,"url":"https://github.com/krisnova/terraformctl","last_synced_at":"2025-04-14T05:32:05.683Z","repository":{"id":87263910,"uuid":"103755242","full_name":"krisnova/terraformctl","owner":"krisnova","description":"Running Terraform in Kubernetes as a controller","archived":false,"fork":false,"pushed_at":"2017-09-20T20:21:46.000Z","size":126649,"stargazers_count":88,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T19:51:42.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krisnova.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-09-16T13:47:46.000Z","updated_at":"2022-12-23T03:14:52.000Z","dependencies_parsed_at":"2023-03-03T04:15:26.247Z","dependency_job_id":null,"html_url":"https://github.com/krisnova/terraformctl","commit_stats":null,"previous_names":["kris-nova/terraformctl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnova%2Fterraformctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnova%2Fterraformctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnova%2Fterraformctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnova%2Fterraformctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisnova","download_url":"https://codeload.github.com/krisnova/terraformctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248826722,"owners_count":21167732,"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":"2024-10-15T07:11:46.196Z","updated_at":"2025-04-14T05:32:00.675Z","avatar_url":"https://github.com/krisnova.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraformctl\n\nManage and mutate infrastructure with Terraform by running it in Kubernetes as a controller!\n\n## About\n\nThis is an example of infrastructure as cloud native software.\nThis repository is not intended to be used in production, but rather offers a starting point for people to start looking at what it would take to run infrastructure as software.\n\nMore information can be found on my blog [here](http://www.nivenly.com/i-ran-terraform-in-kubernetes/)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"diagram1.png\" width=\"360\"\u003e\u003c/p\u003e\n\n## Running\n\n### Environmental Variables\n\n`TERRAFORMCTL_HOSTNAME` can be used to override the hostname to use to connect to a listening gRPC server.\n`TERRAFORMCTL_PORT` can be used to override the port to use to connect to a listening gRPC server.\n\n## Developing\n\n## Building and pushing\n\nSorry but I hard coded everything for a demo.. be ready to hack the Makefile (please open a PR if you want!)\n\n```\nmake build push deploy\n```\n\nThis also assumes you have Kubernetes up and running already.\n\n### Working with the gRPC definitions\n\nYou will need to have `protoc` and `grpc` installed.\n\n```bash\ngo get google.golang.org/grpc\ngo get -u github.com/golang/protobuf/protoc-gen-go\n```\n\nNow you can make changes to `service/terraformctl.proto` and run the following command to update the plugin.\n\n```bash\nmake proto\n```\n\nA change to the gRPC might be needed in `service/server.go` if the new gRPC expects new logic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisnova%2Fterraformctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisnova%2Fterraformctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisnova%2Fterraformctl/lists"}