Infrastructure-as-code tool for provisioning and managing cloud resources across multiple providers.
🚀 Discover FeaturesTerraform is an open-source infrastructure as code (IaC) tool by HashiCorp. It allows teams to safely and efficiently build, change, and version infrastructure.
Define and manage infrastructure using declarative configuration files (HCL).
Create and manage infrastructure on AWS, Azure, GCP, and other providers simultaneously.
Track resource states across environments for consistency and reproducibility.
Reuse infrastructure components through reusable modules for complex deployments.
Visualize changes impacts before deployment with the terraform plan command.
Store infrastructure definitions in version control systems for auditability and history tracking.
Quickly deploy infrastructure on AWS, Azure, or GCP with declarative HCL configurations.
Automate infrastructure creation as part of your software delivery pipeline.
Manage dev, staging, and production environments with consistent configuration files.
Track costs by applying tags and defining resource quotas in infrastructure code.
Use state files for rapid re-creation of infrastructure in case of outages.
Automate security policies like IAM roles, network access, and encryption through code.
brew install terraform
or download from official site
terraform init
main.tf
configuration file defining desired infrastructure
terraform plan
terraform apply