Go to file
Martin Atkins b1eec0fbcd core: NodeAbstractResourceInstance.Provider correct implied provider
When we need to select a qualified provider address based on an implied
provider name, we have a special case that the name "terraform" maps to
terraform.io/builtin/terraform instead of
registry.terraform.io/hashicorp/terraform as would be the case for other
prefixes.

However, in order for that to work properly we need to use
addrs.ImpliedProviderForUnqualifiedType instead of
addrs.NewDefaultProvider, because the latter just unconditionally always
produces a "default" provider configuration (belonging to the "hashicorp"
namespace on the public registry).
2020-08-24 11:41:28 -07:00
.circleci add test for 'full' docker image build 2020-06-17 10:48:10 -04:00
.github Update GitHub issue templates 2020-08-05 17:39:56 -04:00
addrs addrs: Resource.InModule, similar to Resource.Absolute 2020-08-24 11:41:28 -07:00
backend Merge pull request #25585 from chushenmeshile/master 2020-08-19 16:55:31 -04:00
builtin always return original workspace, even when null 2020-06-24 13:41:51 -04:00
command Merge pull request #25960 from hashicorp/alisdair/backend-config-override-fix 2020-08-24 10:14:16 -04:00
communicator communicator/winrm: include configured timeout in winrm server 2020-06-25 08:41:09 -04:00
config Move the commit along with 2020-03-02 15:56:38 -05:00
configs configs: include "providers" when overriding modules (#25496) 2020-08-11 11:46:40 -04:00
contrib
dag quote dot node names 2020-06-15 13:28:53 -04:00
digraph
docs Fix spelling mistakes/typos in documentation 2020-07-22 18:24:32 +02:00
e2e
examples
experiments configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
flatmap prune references to config/module 2019-08-07 17:50:59 -04:00
helper remove depends_on from helper test shims 2020-05-14 15:57:16 -04:00
httpclient Merge pull request #22272 from hashicorp/f-httpclient-ua 2019-08-12 20:20:03 +01:00
instances Expander.ExpandResource cannot expand all modules 2020-03-25 11:58:23 -04:00
internal internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
lang add test cases and remove no-longer-needed validation 2020-07-08 13:53:54 -04:00
moduledeps
plans Unknown set blocks with dynamic may have 0 elems 2020-07-23 15:47:34 -04:00
plugin plugin/discovery: Remove dead code 2020-05-28 15:20:41 -04:00
providers
provisioners
registry
repl fix error output in repl test 2020-04-14 14:50:43 -04:00
scripts use alpine:latest as the base image for terraform docker containers 2020-07-01 16:03:06 -04:00
states states: Add roundtrip v3->v4 with builtin provider 2020-08-14 15:40:48 -04:00
terraform core: NodeAbstractResourceInstance.Provider correct implied provider 2020-08-24 11:41:28 -07:00
tfdiags tfdiags: Diagnostics.ToHCL 2020-03-12 11:11:29 -07:00
tools terraform-bundle: initial changelog (#25917) 2020-08-19 15:20:07 -04:00
vendor Merge pull request #25769 from hashicorp/f/azure-backend 2020-08-19 13:56:54 -04:00
version Cleanup after v0.13.0 release 2020-08-10 18:04:10 +00:00
website website/docs: clarify behavior of -state flag (#25928) 2020-08-20 10:23:08 -04:00
.gitignore
.go-version Update azure backend storage sdk (#24669) 2020-05-20 17:29:02 +02:00
.hashibot.hcl
.tfdev
CHANGELOG.md Update CHANGELOG.md 2020-08-24 10:17:06 -04:00
CODEOWNERS Add remilapeyre to CODEOWNERS 2020-08-19 14:25:19 +02:00
Dockerfile
LICENSE Adding license 2014-07-28 13:54:06 -04:00
Makefile Fix missing VERSION for running make website 2020-08-12 13:24:03 -04:00
README.md
checkpoint.go
codecov.yml build: disable github pr annotations (#25942) 2020-08-20 13:06:48 -04:00
commands.go command: terraform providers mirror 2020-06-01 14:49:43 -07:00
go.mod Merge pull request #25769 from hashicorp/f/azure-backend 2020-08-19 13:56:54 -04:00
go.sum Merge pull request #25769 from hashicorp/f/azure-backend 2020-08-19 13:56:54 -04:00
help.go help: Make version and help flags consistent 2018-08-01 14:28:39 -07:00
main.go main: Pass untyped nil for missing creds source 2020-06-03 09:46:53 -04:00
main_test.go
panic.go main: Warn about potential sensitive information in logs when panicking 2019-11-06 14:12:33 -08:00
plugins.go
provider_source.go init: fix issue loading local plugin directory 2020-06-11 11:30:44 -04:00
signal_unix.go
signal_windows.go
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

README.md

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.

License

Mozilla Public License v2.0