Junior — Middle
Have you worked with the Terraform infrastructure automation tool?
sobes.tech AI
Answer from AI
Terraform is a tool for automating the creation, modification, and management of infrastructure using declarative configuration files. It allows describing infrastructure as code (IaC), which simplifies repeatability and scalability.
Main features of Terraform:
- Managing resources in clouds (AWS, Azure, GCP, etc.)
- Support for multiple providers
- Automatic calculation of dependencies between resources
- Change planning (terraform plan) before application
- Infrastructure versioning
Example of usage:
provider "aws" {
region = "us-west-2"
}
resource "aws_instance" "example" {
ami = "ami-0c55b159cbfafe1f0"
instance_type = "t2.micro"
}
This config will create an EC2 instance in AWS. Terraform is widely used for automating infrastructure in DevOps processes.