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.
- 13 Jan, 2021 19 commits
-
-
Martin Atkins authored
This is a helper package that creates a very thin abstraction over terminal setup, with the main goal being to deal with all of the extra setup we need to do in order to get a UTF-8-supporting virtual terminal on a Windows system.
-
Pam Selle authored
-
Pam Selle authored
Make errors in state mv more accurate
-
James Bardin authored
Fix error handling in instance apply methods
-
James Bardin authored
-
Kristin Laemmert authored
-
James Bardin authored
-
James Bardin authored
Now that we don't need to track separate error values for the apply logic, it's easier to reorganize the diagnostic handling to use a single set of diagnostics.
-
James Bardin authored
-
James Bardin authored
Trying to track these error values as they wint into and out of the instance apply methods was quite difficult. They were mis-assigned, and in many cases lost diagnostic information.
-
James Bardin authored
This was never assigned, and the empty value made the usage very difficult to trace.
-
James Bardin authored
Various pieces of the state and/or warnings were dropped when the provider returns an error. Do a little cleanup of `.apply` to make the logic easier to follow.
-
Pam Selle authored
Add documentation page for version
-
Pam Selle authored
-
Pam Selle authored
Remove revision from version command
-
James Bardin authored
preserve resource private data on error
-
James Bardin authored
If the provider returns an empty response during apply, we restore the prior state for the resource, but the private data was not being restored.
-
James Bardin authored
Update the MockProvider to use correct types and allow default behaviors
-
Rémy Léone authored
* docs: add links to the registry provider documentation * Adjust wording/link URL Co-authored-by:
Nick Fagerlund <nick@hashicorp.com>
-
- 12 Jan, 2021 14 commits
-
-
Nick Fagerlund authored
website: add example of multiple var cli
-
James Bardin authored
-
James Bardin authored
Add reasonable default behavior to the mock provider, so that may do not need to depend on the idiosyncrasies of the old (though updated) test testDiffFn and to a lesser extend the testApplyFn. This behavior is based directly upon the documented resource lifecycle, rather than be an ad-hoc collection of behaviors from old tests. As a proof of concept, remove all uses of testDiffFn from the plan context tests that don't cause the tests to fail.
-
Nick Fagerlund authored
-
Nick Fagerlund authored
-
Pam Selle authored
The version command, although not the mightiest of our commands, did not have a page among our docs.
-
Pam Selle authored
The revision field is only populated on dev builds so this means most releases of Terraform have an empty "terraform_revision" field in the JSON output. Since we recommend developers use go tooling to `go build` this tool when developing, the revision is not useful data and so it is removed.
-
James Bardin authored
There are a few places where we want to perform some transformation on a cty.Value, but require information from the schema. Rather than create bespoke functions to walk the cty.Value and schema in concert, we can provide Attribute information from a cty.Path allowing the use of Value.Transform in these cases.
-
James Bardin authored
This ensures that test providers are using the same types as actual providers.
-
James Bardin authored
This allows up to detect an unset value from the zero value so that defaults can be implemented, while still allowing tests to return specific values of their choosing.
-
Pam Selle authored
When running state mv with a resource source, but the destination fails, provide a hint that the source is a resource (not an instance) in case the user means to address it this way
-
Pam Selle authored
Using the addrTo after it has failed its check means <invalid>/no address will be printed. Change this throughout, but particularly add a test for the origin issue for this.
-
Pam Selle authored
Chage backend.tmpl to config.tmpl in Maps example,
-
Alisdair McDiarmid authored
cli: Fix rendering of long integers
-
- 11 Jan, 2021 7 commits