This project is mirrored from https://:*****@github.com/hashicorp/terraform.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 12 Jul, 2020 2 commits
-
-
Martin Atkins authored
This does nothing useful yet, but illustrates that it's possible to compile and run Terraform's config loader and Terraform Core under WebAssembly. However, this seems to have some serious performance problems in that it uses a lot of CPU and eventually crashes even though the code in the main package has apparently halted. It seems like either something in the Go wasm runtime or in an init() function in a library we depend on is using a lot of CPU even after the main program has finished.
-
Martin Atkins authored
This always returns an error and is only here to allow this package to compile for the js_wasm target. We won't be using this function on that platform, so it doesn't need to actually work.
-
- 10 Jul, 2020 3 commits
-
-
James Bardin authored
-
James Bardin authored
ensure root module locals and vars are pruned
-
James Bardin authored
The pruneUnusedNodes transformer was skipping root level locals and variables, causing them to be left in the graph during a full destroy. Use the return value from temporaryValue to indicate if the node is truly temporary or not, rather then keeping the entire root module.
-
- 09 Jul, 2020 2 commits
-
-
Alisdair McDiarmid authored
-
Alisdair McDiarmid authored
Add post-install provider cache validation and error reporting
-
- 08 Jul, 2020 7 commits
-
-
Martin Atkins authored
The main motivation here is to produce a helpful error if a user incorrectly uses the terraform-provider- prefix (which we see on provider VCS repositories and plugin executables) as part of the source address. However, this also more broadly blocks "terraform-" as a prefix in anticipation of whatever instinct causes the phenomenon where e.g. Python's PyPI has thousands of packages whose names start with "python-", even though everything on PyPI is for Python by definition. This is definitely not _necessary_, but it's better to be restrictive at first and weaken later as needed.
-
Martin Atkins authored
If the user specifies a host that isn't a provider registry in a provider source address then we'll print out some specialized error messages for different variants of that situation. In particular, this includes a special case for when the error is on the hostname "github.com", in anticipation of folks incorrectly attempting to use GitHub repository URLs (or Go-style module paths that happen to be on GitHub) to specify providers, so we can give a more specific hint about that. This is just a different presentation of an existing error case that we are already covering in the installer tests, so there are no new tests here. We could in principle have a test covering the exact text of these error messages, but we don't have much precedent for command package tests covering that level of cosmetic detail.
-
Martin Atkins authored
For Terraform v0.12 we introduced a special loading mode where we would use the 0.11-syntax-compatible "earlyconfig" package as a heuristic to identify situations where it was likely that the user was trying to use 0.11-only syntax that the upgrade tool might help with. However, as the language has moved on that is no longer a suitable heuristic in Terraform 0.13 and later: other new additions to the language can cause the main loader to disagree with earlyconfig, which would lead us to give poor advice about how to respond. Instead, we'll now return the same generic "there are errors" message in all syntax error cases. We have an extra message for errors in this case (as compared to other commands) because "terraform init" is usually the first command a new user interacts with and so this message gives some extra explanation about what "terraform init" will do with the configuration once it's valid. This also includes a reset control character in the output of the message as part of our ongoing mission to stop Terraform printing out whole paragraphs of colored text, which can often be hard to read for various reasons.
-
Petros Kolyvas authored
Add community provider to terraform.io: terraform-provider-outlook
-
James Bardin authored
Do not evaluate output when doing a full destroy
-
magodo authored
-
Sune Keller authored
Signed-off-by:
Sune Keller <absukl@almbrand.dk>
-
- 07 Jul, 2020 12 commits
-
-
Tony Carmichael authored
[Website] Update provider links
-
Chris Griggs authored
-
Petros Kolyvas authored
Update taint.html.markdown
-
Alisdair McDiarmid authored
After installing providers, we validate the presence of an executable file, and generate a selected versions lockfile. If this process fails, notify the user. One possible cause for this is an invalid provider package with a missing or misnamed executable file.
-
Alisdair McDiarmid authored
At the end of the EnsureProviderVersions process, we generate a lockfile of the selected and installed provider versions. This includes a hash of the unpacked provider directory. When calculating this hash and generating the lockfile, we now also verify that the provider directory contains a valid executable file. If not, we return an error for this provider and trigger the installer's HashPackageFailure event. Note that this event is not yet processed by terraform init; that comes in the next commit.
-
Alisdair McDiarmid authored
Add an optional execFilename argument to the test helper function FakeInstallablePackageMeta, which allows the creation of invalid packages.
-
Alisdair McDiarmid authored
Instead of searching the installed provider package directory for a binary as we install it, we can lazily detect the executable as it is required. Doing so allows us to separately report an invalid unpacked package, giving the user more actionable error messages.
-
Kristin Laemmert authored
-
James Bardin authored
If we're adding a node to remove a root output from the state, the output itself does not need to be re-evaluated. The exception for root outputs caused them to be missed when we refactored resource destruction to only use the existing state.
-
James Bardin authored
Have the output reference the expansion of a resource (via the whole resource object), so that we can be sure we don't attempt to evaluate that expansion during destroy.
-
Tony Carmichael authored
Add CloudSigma Provider
-
Tony Carmichael authored
Update community-index.html.markdown
-
- 06 Jul, 2020 1 commit
-
-
Lars Lehtonen authored
-
- 02 Jul, 2020 4 commits
-
-
James Bardin authored
There were a couple missing
-
Alvin Huang authored
use alpine:latest as the base image for terraform docker containers
-
Petros Kolyvas authored
website: Fix broken link to /docs/registry/providers/docs.html
-
Nick Fagerlund authored
-
- 01 Jul, 2020 9 commits
-
-
James Bardin authored
Update destroy doc
-
James Bardin authored
-
James Bardin authored
The reason for the interleaved updated in CBD is important. fix
-
James Bardin authored
The dot in the comment was correct, so it was just the wrong image saved.
-
James Bardin authored
add doc about destroying resources and ordering
-
James Bardin authored
Co-authored-by:
Alisdair McDiarmid <alisdair@users.noreply.github.com>
-
Alvin Huang authored
-
Pam Selle authored
Fix JSON output format documentation
-
Pam Selle authored
update hcl language markdown to terraform markdown
-