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.
- 19 Dec, 2018 6 commits
-
-
Kristin Laemmert authored
-
Sander van Harmelen authored
backend/remote: compare versions without the prerelease
-
Kristin Laemmert authored
* command/show: adding functions to aid refactoring The planfile -> statefile -> state logic path was getting hard to follow with blurry human eyes. The getPlan... and getState... functions were added to help streamline the logic flow. Continued refactoring may follow. * command/show: use ctx.Config() instead of a config snapshot As originally written, the jsonconfig marshaller was getting an error when loading configs that included one or more modules. It's not clear if that was an error in the function call or in the configloader itself, but as a simpler solution existed I did not dig too far. * command/jsonplan: implement jsonplan.Marshal Split the `config` portion into a discrete package to aid in naming sanity (so we could have for example jsonconfig.Resource instead of jsonplan.ConfigResource) and to enable marshaling the config on it's own.
-
Sander van Harmelen authored
-
Martin Atkins authored
This includes: - An additional check in the format stdlib function to fail if there are too many arguments given, rather than silently ignoring. - Refinements for the type unification behavior to allow unification of object/tuple types into weaker map/list types when no other unification is possible. - Improvements to the error messages for failed type conversions on collection and structural types to talk about mismatching element types where possible, rather than the outer value.
-
James Bardin authored
-
- 18 Dec, 2018 8 commits
-
-
James Bardin authored
decode backend hash as uint64
-
James Bardin authored
Older versions of terraform could save the backend hash number in a value larger than an int. While we could conditionally decode the state into an intermediary data structure for upgrade, or detect the specific decode error and modify the json, it seems simpler to just decode into the most flexible value for now, which is a uint64.
-
James Bardin authored
-
Sander van Harmelen authored
backend/remote: fix an error that prevents checking constraints
-
James Bardin authored
Ensure we have providers when scaling in counted data sources
-
James Bardin authored
Make this node consistent with the naming if the other instances.
-
James Bardin authored
-
James Bardin authored
Make sure that NodeDestroyableDataResource has a ResolvedProvider to call EvalWriteState. This entails setting the ResolvedProvider in concreteResourceDestroyable, as well as calling EvalGetProvider in NodeDestroyableDataResource to load the provider schema. Even though writing the state for a data destroy node should just be removing the instance, every instance written sets the Provider for the entire resource. This means that when scaling back a counted data source, if the removed instances are written last, the data source will be missing the provider in the state.
-
- 17 Dec, 2018 11 commits
-
-
James Bardin authored
-
James Bardin authored
-
Brian Flad authored
-
Brian Flad authored
deps: github.com/aws/aws-sdk-go@v1.16.4 and github.com/terraform-providers/terraform-provider-aws@v1.52.0
-
Martin Atkins authored
-
Charles Kenney authored
-
James Bardin authored
failing count refs
-
James Bardin authored
Validate should not require state or changes to be present. Break out early when using evaluationStateData during walkValidate before checking state or changes, to prevent errors when indexing resources that haven't been expanded.
-
James Bardin authored
Two different tests failing around resourced with count
-
Martin Atkins authored
Both depends_on and ignore_changes contain references to objects that we can validate. Historically Terraform has not validated these, instead just ignoring references to non-existent objects. Since there is no reason to refer to something that doesn't exist, we'll now verify this and return errors so that users get explicit feedback on any typos they may have made, rather than just wondering why what they added seems to have no effect. This is particularly important for ignore_changes because users have historically used strange values here to try to exploit the fact that Terraform was resolving ignore_changes against a flatmap. This will give them explicit feedback for any odd constructs that the configuration upgrade tool doesn't know how to detect and fix.
-
Martin Atkins authored
This includes a fix to hcl.RelTraversalForExpr where it would inadvertantly modify the internals of a traversal AST node as part of relativizing the traversal in order to return it.
-
- 15 Dec, 2018 4 commits
-
-
Sander van Harmelen authored
-
Sander van Harmelen authored
-
Sander van Harmelen authored
-
Martin Atkins authored
This includes a number of upstream bug fixes, which in turn fix a number of issues here in Terraform: - New-style "full splat" operator now working correctly (#19181) - The weird HCL1-ish single-line block syntax is now supported (#19153) - Formatting of single-line blocks adds spaces around the braces (#19154) This also includes a number of other upstream fixes that were not tracked as issues in the Terraform repository. The highlights of those are: - A for expression with the "for" keyword wrapped onto a newline after its opening bracket now parses correctly. - In JSON syntax, interpolation sequences in properties of objects that are representing expressions now have their variables properly detected. - The "flush" heredoc variant is now functional again after being broken in some (much-)earlier rework of the template parser.
-
- 14 Dec, 2018 11 commits
-
-
Sander van Harmelen authored
Add the v0.11 branch to Travis so we can test builds
-
Sander van Harmelen authored
-
Sander van Harmelen authored
-
Sander van Harmelen authored
backend/remote: return detailed incompatibility info
-
Sander van Harmelen authored
-
Radek Simko authored
-
Radek Simko authored
* backend/local: Render CBD replacement (+/-) correctly * command/format: Use IsReplace helper function
-
Sander van Harmelen authored
-
Sander van Harmelen authored
core: add a method to the disco package retrieve version constraints
-
Sander van Harmelen authored
-
Martin Atkins authored
-