OpenTofu lets you declaratively manage your cloud infrastructure.
Go to file
kmoe 2b71e9edf3
terraform: config-driven import is idempotent (#33188)
If a resource is already in state, do not attempt to import it again. Resources already in state are filtered out of the plan's import targets.

A change is only considered "importing" if it is adding a new resource instance to the state.
2023-05-12 21:31:29 +01:00
.github [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
.release [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
docs Update README.md 2023-05-02 16:23:40 -07:00
internal terraform: config-driven import is idempotent (#33188) 2023-05-12 21:31:29 +01:00
scripts [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
testing/equivalence-tests [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
tools [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
version version: Clean up after v1.5.0-alpha20230504 release 2023-05-04 10:49:23 -07:00
website Merge pull request #32539 from cmaritan/patch-1 2023-05-11 18:01:25 -07:00
.copywrite.hcl Configure copywrite to ignore more generated code 2023-04-26 16:47:54 -04:00
.gitignore Fix .gitignore terraform entry to be root-relative 2022-05-05 10:24:38 -04:00
.go-version build: Use Go 1.20.0 2023-02-17 14:24:52 -08:00
.tfdev Remove revision from version command 2021-01-12 16:35:30 -05:00
BUGPROCESS.md Update BUGPROCESS.md 2023-03-18 17:14:20 -04:00
CHANGELOG.md Update CHANGELOG.md 2023-05-05 13:37:31 -07:00
checkpoint.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
codecov.yml [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
CODEOWNERS Update codeowner of gcs backend to include Strategic Integrations team (#31848) 2022-09-27 21:38:52 +01:00
commands.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
Dockerfile [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
experiments.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
go.mod Refactor SRO check to prevent duplicate plan output 2023-04-13 18:30:56 -04:00
go.sum Refactor SRO check to prevent duplicate plan output 2023-04-13 18:30:56 -04:00
help.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
LICENSE [COMPLIANCE] Update MPL 2.0 LICENSE 2022-10-12 17:36:01 +00:00
main_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
main.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
Makefile chore: Update Digital Team Files (#32037) 2022-10-20 14:04:57 -04:00
plugins.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
provider_source.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
README.md Update README.md 2022-06-27 15:40:37 -04:00
signal_unix.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
signal_windows.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
tools.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
version.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
working_dir.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00

Terraform

Terraform

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:

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, see Extending Terraform.

License

Mozilla Public License v2.0