🏡 ⚙️ Remote Terraform runner

Allow users to trigger the deployment of their infra via webhooks. https://www.terraform.io/cloud-docs/run/remote-operations Terraform Runner is a tool that allows you to run Terraform commands and manage your infrastructure as code in a more automated and efficient way. It works by allowing you to define a configuration file that contains the Terraform commands you want to run, and then using that configuration file to execute those commands. Here is an overview of how Terraform Runner works: Configuration file: Terraform Runner uses a configuration file, typically in YAML format, to define the Terraform commands that you want to run. This configuration file can contain multiple steps, each step representing a Terraform command, such as "apply" or "destroy". Execution: Once the configuration file is created, Terraform Runner can be executed to run the Terraform commands defined in the configuration file. This can be done manually by running the Terraform Runner command and passing the configuration file as an argument, or it can be integrated with a CI/CD pipeline to automate the execution of the Terraform commands. Parallelization: Terraform Runner allows you to run multiple Terraform commands in parallel, which can greatly increase the speed and efficiency of the Terraform execution. Output: Terraform Runner provides detailed output for each step of the Terraform execution, including the command that was run, the resources that were affected, and any errors or warnings that were generated. Error handling: Terraform Runner provides built-in error handling capabilities that can help to identify and troubleshoot issues that may occur during the Terraform execution. Advanced features: Terraform Runner can also include advanced features such as dynamic variables, conditional statements, and loops which allows to create more complex and dynamic infrastructure. Integrations: Terraform Runner can be integrated with various tools such as GitHub, GitLab, and Jenkins to automate the execution of Terraform commands in a continuous integration and continuous deployment pipeline.

Chafik posted over 3 years ago

Discussion