naorlivne
New member
- Local time
- 22:41
- Joined
- Oct 20, 2019
- Messages
- 2
I started a project to manage Terraform runs via API requests, the basic idea is that you make an API request and the service runs Terraform apply\destroy for you and return the response to the request body, the idea beyond it is that there are cases (for example a DBaaS provider creating on demand clusters for each of his clients) that you might want to have your code run terraform which is a lot easier to accomplish if you have a microservice in charge of running terraform for you.
Some highlights include:
- REST API to run:
- terraform apply
- terraform destroy
- No code changes needed, supports 100% of all terraform modules unmodified
- Built in support for multiple terraform workspaces
- Can pass variables to the terraform run via the request body (passed as a -var arg to the terraform applyor terraform destroycommand)
- Supports multiple module directories
- Automatically runs terraform init before changes
- Returned response includes all the logs of stdout & stderr of terraform for easy debugging
- Stateless (requires you use a non local terraform backend)
- Containerized
- Health check endpoint included
- support all terraform backends that support multiple workspaces
- No DB needed, all data stored at the terraform backend of your choosing
- terraformize scales out as much as you need risk free (requires you use a backend that support state locking)
- AMD64 & Arm support (Arm64 not supported as there is no current binary for Terraform for it)
Last edited:
Upvote
0