![]() Examples are Terraform, cloudFormation, and Puppeteer. You don't need to go into the process you just need the result. Chef and Ansible encourage this method.ĭeclarative languages, on the other hand, allow you to simply set the command or order and leave it up to the system to carry it out. You merely give instructions and specify how the process will be carried out. What is a Procedural Language vs a Declarative Language?Ī procedural language allows you to specify the entire process and list the steps necessary to complete it. On your behalf, the Terraform binary parses your code and converts it into a series of API calls as quickly as possible. You have complete control over your infrastructure, including servers, databases, load balancers, network topology, and more. The "code" in "infrastructure as code" is these setups. This allows Terraform to take advantage of the infrastructure that those providers already have in place for their API servers, as well as the authentication processes they require.īut Terraform doesn't know what API requests to make – so how does it know? Terraform configurations, which are text files in declarative language that specify what infrastructure you want to generate, are the answer. This is because the Terraform binary makes API calls on your behalf to one or more providers, which include Azure, AWS, Google Cloud, DigitalOcean, and others. You can use this binary to deploy infrastructure from your laptop, a build server, or just about any other computer, and you won't need to run any additional infrastructure to do so. The Go code is compiled into terraform, a single binary. Terraform is developed in the Go programing language. Let's have a look at how Terraform works at a high level.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |