OpenTofu lets you declaratively manage your cloud infrastructure.
Go to file
Martin Atkins 4b3e237668 command/init: Hint about providers in other namespaces
If a user forgets to specify the source address for a provider, Terraform
will assume they meant a provider in the registry.terraform.io/hashicorp/
namespace. If that ultimately doesn't exist, we'll now try to see if
there's some other provider source address recorded in the registry's
legacy provider lookup table, and suggest it if so.

The error message here is a terse one addressed primarily to folks who are
already somewhat familiar with provider source addresses and how to
specify them. Terraform v0.13 had a more elaborate version of this error
message which directed the user to try the v0.13 automatic upgrade tool,
but we no longer have that available in v0.14 and later so the user must
make the fix themselves.
2020-12-10 10:11:27 -08:00
.circleci switch to hashicorp docker mirror 2020-10-29 22:37:11 -04:00
.github Remove backport review teams for now 2020-11-02 10:43:22 -05:00
addrs fix break from switch in loop 2020-12-02 13:59:19 -05:00
backend set SkipRefresh for plan and apply 2020-12-10 09:47:13 -05:00
builtin Fix terraform_remote_state backend version check 2020-12-08 14:18:04 -05:00
command command/init: Hint about providers in other namespaces 2020-12-10 10:11:27 -08:00
communicator communicator/ssh: staticcheck 2020-12-02 13:59:19 -05:00
configs configs/configload: staticcheck 2020-12-02 13:59:19 -05:00
dag dag: staticcheck 2020-12-02 13:59:19 -05:00
docs regenerate plugin proto with correct tooling 2020-12-01 14:06:49 -05:00
e2e command/cliconfig: Allow development overrides for providers 2020-10-16 14:31:15 -07:00
experiments Add provider sensitivity propagation experiment 2020-10-26 15:05:22 -04:00
helper command/format: concise diff is now the default (#27079) 2020-12-02 15:42:41 -05:00
httpclient Merge pull request #22272 from hashicorp/f-httpclient-ua 2019-08-12 20:20:03 +01:00
instances instances: staticcheck 2020-12-02 13:59:19 -05:00
internal command/init: Hint about providers in other namespaces 2020-12-10 10:11:27 -08:00
lang lang/funcs: Fix alltrue/anytrue with unknowns 2020-12-10 11:36:14 -05:00
moduledeps remove LegacyProvider (#26433) 2020-10-05 08:33:49 -04:00
plans plans: staticcheck 2020-12-02 13:59:19 -05:00
plugin don't use legacy import for the UIInput interface 2020-12-02 15:44:58 -05:00
providers udpate PrepareProviderConfig docs 2020-11-04 13:02:04 -05:00
provisioners provisioners: Add Factory type and FactoryFixed helper 2018-10-16 19:14:11 -07:00
registry registry: staticcheck 2020-12-02 13:59:19 -05:00
repl remove unused 2020-12-02 13:59:18 -05:00
scripts remove generate-plugins script and test 2020-12-02 12:45:00 -05:00
states states/statefile: staticcheck 2020-12-02 13:59:19 -05:00
terraform terraform: final eval-related cleanup (#27232) 2020-12-10 09:55:50 -05:00
tfdiags consistent reciever names 2020-12-02 13:59:18 -05:00
tools Update docs and add warning for -get-plugins 2020-12-07 14:13:52 -05:00
version version: This tree is currently working towards the 0.15.0 release 2020-11-19 14:15:30 -08:00
website website: Fix a stray broken link to 0.8 -> 0.9 backend upgrade doc 2020-12-09 13:28:01 -08:00
.gitignore Coverage 2020-03-03 13:01:05 -05:00
.go-version update to go1.15.2 2020-09-23 15:18:22 -04:00
.hashibot.hcl Restore issue migrator 2020-10-09 15:41:15 -04:00
.tfdev .tfdev: remove platform build constraint 2019-08-09 15:10:52 -07:00
BUGPROCESS.md Update BUGPROCESS.md 2020-12-10 12:15:39 -05:00
CHANGELOG.md update CHANGELOG.md 2020-12-04 10:14:49 -05:00
checkpoint.go Remove config.go and update things using its aliases 2020-01-13 16:50:05 -05:00
codecov.yml build: Set Codecov to informational mode again 2020-10-23 15:58:33 -04:00
CODEOWNERS Updating codeowners with our deprecated status for tool-specific provisioners 2020-09-29 14:19:56 -04:00
commands.go remove unused 2020-12-02 13:59:18 -05:00
Dockerfile switch to hashicorp docker mirror 2020-10-29 22:37:11 -04:00
go.mod command: Revert local patch for pkg/browser 2020-12-10 09:27:02 -05:00
go.sum command: Revert local patch for pkg/browser 2020-12-10 09:27:02 -05:00
help.go main: A slightly more compact presentation of the main help text 2020-10-26 09:55:21 -07:00
LICENSE Adding license 2014-07-28 13:54:06 -04:00
main_test.go redirect warnigns to stdout 2020-11-30 12:29:44 -05:00
main.go redirect warnigns to stdout 2020-11-30 12:29:44 -05:00
Makefile File no longer exists to be formatted 2020-12-02 12:45:00 -05:00
plugins.go Remove config.go and update things using its aliases 2020-01-13 16:50:05 -05:00
provider_source.go command/cliconfig: Allow development overrides for providers 2020-10-16 14:31:15 -07:00
README.md Add bug triage guide 2020-09-25 15:56:58 -04: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
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

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 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.

To learn more about how we handle bug reports, please read the bug triage guide.

License

Mozilla Public License v2.0