Go to file
Kristin Laemmert 851e6dcdbb
configs: added map to configs.Module for provider local name lookup (#24039)
* configs: added map of ProviderLocalNames to configs.Module

We will need to lookup any user-supplied local names for a given FQN.
This PR adds a map of ProviderLocalNames to the Module, along with
adding tests for this and for decodeRequiredProvidersBlock.

This also introduces the appearance of support for a required_provider
"source" attribute, but ignores any user-supplied source and instead
continues to assume that addrs.NewLegacyProvider is the way to go.
2020-02-11 13:17:37 -05:00
.github spelling fix 2020-02-10 18:55:20 +01:00
addrs moduledeps: replace ProviderInstance with addrs.Provider (#24017) 2020-02-05 09:27:32 -05:00
backend Improve remote backend missing token error 2020-02-05 13:25:29 -05:00
builtin providers: use addrs.Provider as map keys for provider.Factory (#23548) 2019-12-04 11:30:20 -05:00
command Remove unnecessary type assertion checks 2020-02-06 15:30:49 -05:00
communicator ssh: Fix deadlock on agent forwarding error 2019-12-12 18:16:17 +01:00
config config: Remove legacy interpolation function implementations 2019-10-29 08:25:45 -07:00
configs configs: added map to configs.Module for provider local name lookup (#24039) 2020-02-11 13:17:37 -05:00
contrib
dag Correct simple typo in `walk.go`. 2019-10-22 11:40:50 +02:00
digraph
docs
e2e
examples
experiments config: Allow module authors to specify validation rules for variables 2020-01-10 15:23:25 -08:00
flatmap
helper Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 2020-01-31 08:23:07 -05:00
httpclient
internal moduledeps: replace ProviderInstance with addrs.Provider (#24017) 2020-02-05 09:27:32 -05:00
lang lang: add setsubtract function (#23424) 2020-02-06 12:49:11 -05:00
moduledeps moduledeps: replace ProviderInstance with addrs.Provider (#24017) 2020-02-05 09:27:32 -05:00
plans Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 2020-01-31 08:23:07 -05:00
plugin Mildwonkey/tfconfig upgrade (#23670) 2020-01-10 11:54:53 -05:00
providers Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 2020-01-31 08:23:07 -05:00
provisioners
registry
repl Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 2020-01-31 08:23:07 -05:00
scripts
state
states Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978) 2020-01-31 08:23:07 -05:00
terraform terraform: fix issue merging provider version constraints 2020-02-06 11:28:48 -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 lang: "try" and "can" functions 2020-01-10 15:23:25 -08:00
version Cleanup after v0.12.20 release 2020-01-22 22:08:22 +00:00
website website/docs: Fixed w in VMware to lower case (#24065) 2020-02-10 09:30:52 -05:00
.gitignore
.go-version Build with Go 1.12.13 2019-11-06 07:02:54 -08:00
.hashibot.hcl apply special label for PRs affecting sdk paths 2019-09-06 15:22:43 -04:00
.tfdev
.travis.yml Build with Go 1.12.13 2019-11-06 07:02:54 -08:00
BUILDING.md Edit BUILDING.md 2019-11-17 15:04:22 -08:00
CHANGELOG.md Update CHANGELOG.md 2020-02-06 12:51:31 -05:00
CODEOWNERS Remove core ownership, because don't want to default request review on all PRs 2020-02-03 16:48:58 -05:00
Dockerfile build: Don't create apk cache in "full" docker image 2019-11-11 16:04:23 -08:00
LICENSE
Makefile build: add terraform-bundle e2etests 2019-12-12 09:26:26 -05:00
README.md
checkpoint.go Remove config.go and update things using its aliases 2020-01-13 16:50:05 -05:00
commands.go command/logout: Add terraform logout command 2020-02-06 15:00:55 -05:00
go.mod vendor: go get github.com/hashicorp/hcl/v2@v2.3.0 2020-01-10 15:23:25 -08:00
go.sum vendor: go get github.com/hashicorp/hcl/v2@v2.3.0 2020-01-10 15:23:25 -08:00
help.go
main.go command: Accept a "provider source" from the main package 2020-01-24 13:45:37 -08: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 Remove config.go and update things using its aliases 2020-01-13 16:50:05 -05:00
signal_unix.go
signal_windows.go
synchronized_writers.go
version.go

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

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