Terraform Up & Running
最后更新于
最后更新于
Terraform is called a configuration language. In terms of language, terraform supports programming language features like input/output, importing module, loop, conditional statements. But it's not a full-fledged language, these language features are used to generate configurations. The result of executing terraform scripts is a configuration, then the configuration is converted to APIs depending on different providers(AWS, GCP etc.).
Terraform manages a state file, which records the state of the infrastructure. It makes difference from procedural tools like Ansible.
Terraform and SQL both are declartive, since tf has a state file, so the tf scripts itself means the current setup in infrastructure.