    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

              hashicorp / terraform Public
              * Notifications You must be signed in to change notification settings
              * Fork 10.6k
                * Star 49.5k
          * Code
          * Issues 1.8k
          * Pull requests 163
          * Actions
          * Security and quality 1
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Actions
                  * Security and quality
                  * Insights
                                              main
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                                Name                                  Last commit message    Last commit date
                                            Latest commit                   
                                                                            
                                                History                     
                                                                            
                                                35,812 Commits              
                                                  35,812 Commits            
                                                  .changes                            .changes                                                             
                                                  .github                             .github                                                              
                                                  .release                            .release                                                             
                                                  docs                                docs                                                                 
                                                  internal                            internal                                                             
                                                  scripts                             scripts                                                              
                                                  testing/ equivalence-tests          testing/ equivalence-tests                                           
                                                  tools                               tools                                                                
                                                  version                             version                                                              
                                                  website                             website                                                              
                                                  .changie.yaml                       .changie.yaml                                                        
                                                  .copywrite.hcl                      .copywrite.hcl                                                       
                                                  .git-blame-ignore-revs              .git-blame-ignore-revs                                               
                                                  .gitignore                          .gitignore                                                           
                                                  .go-version                         .go-version                                                          
                                                  .tfdev                              .tfdev                                                               
                                                  BUGPROCESS.md                       BUGPROCESS.md                                                        
                                                  BUILDING.md                         BUILDING.md                                                          
                                                  CHANGELOG.md                        CHANGELOG.md                                                         
                                                  CODEOWNERS                          CODEOWNERS                                                           
                                                  Dockerfile                          Dockerfile                                                           
                                                  LICENSE                             LICENSE                                                              
                                                  Makefile                            Makefile                                                             
                                                  README.md                           README.md                                                            
                                                  build.Dockerfile                    build.Dockerfile                                                     
                                                  catalog-info.yaml                   catalog-info.yaml                                                    
                                                  checkpoint.go                       checkpoint.go                                                        
                                                  commands.go                         commands.go                                                          
                                                  experiments.go                      experiments.go                                                       
                                                  go.mod                              go.mod                                                               
                                                  go.sum                              go.sum                                                               
                                                  help.go                             help.go                                                              
                                                  main.go                             main.go                                                              
                                                  main_test.go                        main_test.go                                                         
                                                  provider_source.go                  provider_source.go                                                   
                                                  signal_unix.go                      signal_unix.go                                                       
                                                  signal_windows.go                   signal_windows.go                                                    
                                                  staticcheck.conf                    staticcheck.conf                                                     
                                                  telemetry.go                        telemetry.go                                                         
                                                  telemetry_test.go                   telemetry_test.go                                                    
                                                  version.go                          version.go                                                           
                                                  working_dir.go                      working_dir.go                                                       
                                            View all files                  
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Code of conduct
                                                * Contributing
                                                * License
                                                * Security
                                                More items

                                                Terraform

                                                * Website: https://developer.hashicorp.com/terraform
                                                * Forums: HashiCorp Discuss
                                                * Documentation: https://developer.hashicorp.com/terraform/docs
                                                * Tutorials: HashiCorp's Learn Platform
                                                * Certification Exam: HashiCorp Certified: Terraform Associate

                                              Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.

                                              The key features of Terraform are:

                                                * Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.

                                                * Execution Plans: Terraform has a "planning" step where it generates an execution plan. The execution plan shows what Terraform will do when you call apply. This lets you avoid any surprises when Terraform manipulates infrastructure.

                                                * Resource Graph: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.

                                                * Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what Terraform will change and in what order, avoiding many possible human errors.

                                              For more information, refer to the What is Terraform? page on the Terraform website.

                                                Getting Started & Documentation

                                              Documentation is available on the Terraform website:

                                                * Introduction
                                                * Documentation

                                              If you're new to Terraform and want to get started creating infrastructure, please check out our Getting Started guides on HashiCorp's learning platform. There are also additional guides to continue your learning.

                                              Show off your Terraform knowledge by passing a certification exam. Visit the certification page for information about exams and find study materials on HashiCorp's learning platform.

                                                Developing Terraform

                                              This repository contains only Terraform core, which includes the command line interface and the main graph engine. Providers are implemented as plugins, and Terraform can automatically download providers that are published on the Terraform Registry. HashiCorp develops some providers, and others are developed by other organizations. For more information, refer to Plugin development.

                                                * To learn more about compiling Terraform and contributing suggested changes, refer to the contributing guide.

                                                * To learn more about how we handle bug reports, refer to the bug triage guide.

                                                * To learn how to contribute to the Terraform documentation, refer to the Web Unified Docs repository.

                                                License

                                              Business Source License 1.1

                                        About

                                        Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

                                          developer.hashicorp.com/terraform

                                        Topics

                                          cloudcloud-managementgraphinfrastructure-as-codeterraform

                                        Resources

                                          Readme
                                          License

                                        Code of conduct

                                          Code of conduct

                                        Contributing

                                          Contributing

                                        Security policy

                                          Security policy
                                          Activity
                                          Custom properties

                                        Stars

                                          49.5k stars

                                        Watchers

                                          1.2k watching

                                        Forks

                                          10.6k forks
                                          Report repository

                                        Releases

                                        Used by

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.