OpenTofu lets you declaratively manage your cloud infrastructure.
Go to file
Martin Atkins 43c1ec69e2 build: Use Go 1.14
This implies some notable changes that will have a visible impact to
end-users of official Terraform releases:

- Terraform is no longer compatible with MacOS 10.10 Yosemite, and
  requires at least 10.11 El Capitan. (Relatedly, Go 1.14 is planned to be
  the last release to support El Capitan, so while that remains supported
  for now, it's notable that Terraform 0.13 is likely to be the last major
  release of Terraform supporting it, with 0.14 likely to further require
  MacOS 10.12 Sierra.)

- Terraform is no longer compatible with FreeBSD 10.x, which has reached
  end-of-life. Terraform now requires FreeBSD 11.2 or later.

- Terraform now supports TLS 1.3 when it makes connections to remote
  services such as backends and module registries. Although TLS 1.3 is
  backward-compatible in principle, some legacy systems reportedly work
  incorrectly when attempting to negotiate it. (This change does not
  affect outgoing requests made by provider plugins, though they will see
  a similar change in behavior once built with Go 1.13 or later.)

- Ed25519 certificates are now supported for TLS 1.2 and 1.3 connections.

- On UNIX systems where "use-vc" is set in resolv.conf, TCP will now be
  used for DNS resolution. This is unlikely to cause issues in practice
  because a system set up in this way can presumably already reach its
  nameservers over TCP (or else other applications would misbehave), but
  could potentially lead to lookup failures in unusual situations where a
  system only runs Terraform, has historically had "use-vc" in its
  configuration, but yet is blocked from reaching its configured
  nameservers over TCP.

- Some parts of Terraform now support Unicode 12.0 when working with
  strings. However, notably the Terraform Language itself continues to
  use the text segmentation tables from Unicode 9.0, which means it lacks
  up-to-date support for recognizing modern emoji combining forms as
  single characters. (We may wish to upgrade the text segmentation tables
  to Unicode 12.0 tables in a later commit, to restore consistency.)

This also includes some changes to the contents of "vendor", and
particularly to the format of vendor/modules.txt, per the changes to
vendoring in the Go 1.14 toolchain. This new syntax is activated by the
specification of "go 1.14" in the go.mod file.

Finally, the exact format of error messages from the net/http library has
changed since Go 1.12, and so a couple of our tests needed updates to
their expected error messages to match that.
2020-03-04 13:26:50 -08:00
.github spelling fix 2020-02-10 18:55:20 +01:00
addrs addrs: Provider.LessThan 2020-02-25 10:30:03 -05:00
backend backend/plan: Show warnings even if no changes are needed 2020-02-19 15:59:15 -08:00
builtin providers: use addrs.Provider as map keys for provider.Factory (#23548) 2019-12-04 11:30:20 -05:00
command state mv should always target instance each mode 2020-03-02 14:45:03 -05:00
communicator ssh: Fix deadlock on agent forwarding error 2019-12-12 18:16:17 +01:00
config Move the commit along with 2020-03-02 15:56:38 -05:00
configs addrs: Stronger validation and normalization of provider namespace/type 2020-02-18 15:42:09 -08:00
contrib contrib: Remove api-coverage tool 2019-10-18 11:22:30 -07:00
dag dag benchmark 2020-02-19 14:53:19 -05:00
digraph Fix TestWriteDot random order error 2014-07-29 10:26:50 -07:00
docs vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
e2e Standardise directory name for test data 2019-06-30 10:16:15 +02:00
examples Fix Google Cloud Platform name across docs. 2019-01-15 12:10:20 -08:00
experiments config: Allow module authors to specify validation rules for variables 2020-01-10 15:23:25 -08:00
flatmap prune references to config/module 2019-08-07 17:50:59 -04:00
helper addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
httpclient Merge pull request #22272 from hashicorp/f-httpclient-ua 2019-08-12 20:20:03 +01:00
instances instances: A package for module/resource reptition 2020-02-14 15:20:07 -08:00
internal build: Use Go 1.14 2020-03-04 13:26:50 -08:00
lang lang: Fix non-string key panics in map function 2020-03-04 10:54:55 -05:00
moduledeps moduledeps: replace ProviderInstance with addrs.Provider (#24017) 2020-02-05 09:27:32 -05:00
plans addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
plugin Mildwonkey/tfconfig upgrade (#23670) 2020-01-10 11:54:53 -05:00
providers addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
provisioners provisioners: Add Factory type and FactoryFixed helper 2018-10-16 19:14:11 -07:00
registry Replace import paths & set UA string where necessary 2019-10-11 22:40:54 +01:00
repl addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
scripts Coverage updates, roll back makefile change, use travis specific script 2020-03-03 14:10:17 -05:00
state Merge pull request #20571 from sergkondr/fix_misspelling 2019-08-13 17:13:13 -04:00
states addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
terraform Module Expansion: Part 2 (#24154) 2020-02-24 17:42:32 -05:00
tfdiags command: New -compact-warnings option 2019-12-10 11:53:14 -08:00
tools terraform-bundle: fix panic with addrs.Provider 2019-12-12 09:14:38 -05:00
vendor build: Use Go 1.14 2020-03-04 13:26:50 -08:00
version Update version.go 2020-02-19 17:42:33 -05:00
website Merge branch 'master' into patch-1 2020-03-04 10:11:40 -08:00
.gitignore Coverage 2020-03-03 13:01:05 -05:00
.go-version build: Use Go 1.14 2020-03-04 13:26:50 -08:00
.hashibot.hcl apply special label for PRs affecting sdk paths 2019-09-06 15:22:43 -04:00
.tfdev .tfdev: remove platform build constraint 2019-08-09 15:10:52 -07:00
.travis.yml build: Use Go 1.14 2020-03-04 13:26:50 -08:00
BUILDING.md Edit BUILDING.md 2019-11-17 15:04:22 -08:00
CHANGELOG.md update CHANGELOG.md 2020-03-03 13:48:19 -05:00
checkpoint.go Remove config.go and update things using its aliases 2020-01-13 16:50:05 -05:00
codecov.yml Customize codecov comment 2020-03-04 15:19:42 -05:00
CODEOWNERS backend/cos: Add TencentCloud backend cos with lock (#22540) 2020-02-13 11:37:11 -05:00
commands.go remove json2dot command 2020-02-19 14:53:19 -05:00
Dockerfile build: Don't create apk cache in "full" docker image 2019-11-11 16:04:23 -08:00
go.mod build: Use Go 1.14 2020-03-04 13:26:50 -08:00
go.sum update cty 2020-03-03 15:20:11 -05:00
help.go help: Make version and help flags consistent 2018-08-01 14:28:39 -07:00
LICENSE Adding license 2014-07-28 13:54:06 -04:00
main_test.go main: make configuration available when initializing commands 2017-09-29 14:03:09 -07:00
main.go command: Accept a "provider source" from the main package 2020-01-24 13:45:37 -08:00
Makefile Coverage updates, roll back makefile change, use travis specific script 2020-03-03 14:10:17 -05:00
panic.go main: Warn about potential sensitive information in logs when panicking 2019-11-06 14:12:33 -08:00
plugins.go Remove config.go and update things using its aliases 2020-01-13 16:50:05 -05:00
README.md Update README.md 2020-02-14 11:08:33 -05:00
signal_unix.go Forward SIGTERM and handle that as an interrupt 2016-12-08 12:20:25 -05:00
signal_windows.go Forward SIGTERM and handle that as an interrupt 2016-12-08 12:20:25 -05:00
synchronized_writers.go main: synchronize writes to VT100-faker on Windows 2017-05-04 15:36:51 -07:00
version.go states/statemgr: Fix the Filesystem state manager tests 2018-11-19 09:02:35 -08: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, see the introduction section of the Terraform website.

Getting Started & Documentation

If you're new to Terraform and want to get started creating infrastructure, please checkout our Getting Started guide, available on the Terraform website.

All documentation is available on the Terraform website:

Developing Terraform

This repository contains only Terraform core, which includes the command line interface and the main graph engine. Providers are implemented as plugins that each have their own repository in the terraform-providers organization on GitHub. Instructions for developing each provider are in the associated README file. For more information, see the provider development overview.

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

License

Mozilla Public License v2.0