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.
- 14 Sep, 2022 4 commits
-
-
hc-github-team-tf-core authored
-
hc-github-team-tf-core authored
-
James Bardin authored
-
Martin Atkins authored
-
- 09 Sep, 2022 2 commits
-
-
Laura Pacilio authored
Merge pull request #31766 from hashicorp/backport/clarify-backend-state-storage/ultimately-causal-ladybird Backport of Add more context about local backend configuration state file into v1.3
-
Laura Pacilio authored
Update Cloud Block Docs
-
- 02 Sep, 2022 1 commit
-
-
Alisdair McDiarmid authored
Merge pull request #31732 from hashicorp/backport/alisdair/typeexpr-upstreamed/annually-hopeful-filly Backport of Use upstreamed HCL typexpr package into v1.3
-
- 01 Sep, 2022 2 commits
-
-
Alisdair McDiarmid authored
-
The Terraform Team authored
Co-authored-by:
Katy Moe <katy@katy.moe>
-
- 31 Aug, 2022 6 commits
-
-
kmoe authored
-
hc-github-team-tf-core authored
-
hc-github-team-tf-core authored
-
kmoe authored
-
James Bardin authored
* remove deprecated backends * remove backend docs Remove references to deprecated backends from docs.
-
kmoe authored
-
- 30 Aug, 2022 8 commits
-
-
megan07 authored
Send the JSON state representation to Cloud backend (when available)
-
Megan Bang authored
-
Megan Bang authored
-
Megan Bang authored
-
Megan Bang authored
-
kmoe authored
-
kmoe authored
Add a new ChangeReason, ReasonDeleteBecauseNoMoveTarget, to provide better information in cases where a planned deletion is due to moving a resource to a target not in configuration. Consider a case in which a resource instance exists in state at address A, and the user adds a moved block to move A to address B. Whether by the user's intention or not, address B does not exist in configuration. Terraform combines the move from A to B, and the lack of configuration for B, into a single delete action for the (previously nonexistent) entity B. Prior to this commit, the Terraform plan will report that resource B will be destroyed because it does not exist in configuration, without explicitly connecting this to the move. This commit provides the user an additional clue as to what has happened, in a case in which Terraform has elided a user's action and inaction into one potentially destructive change.
-
Megan Bang authored
-
- 29 Aug, 2022 11 commits
-
-
Megan Bang authored
-
Megan Bang authored
-
Megan Bang authored
-
Megan Bang authored
updating to use the latest version of cloud/state.go and just pass schemas along to PersistState in the remote state
-
Megan Bang authored
-
Megan Bang authored
-
Megan Bang authored
-
Alisdair McDiarmid authored
-
Alisdair McDiarmid authored
Update init.mdx
-
Alisdair McDiarmid authored
-
kmchau authored
rephrased according to the suggestion.
-
- 26 Aug, 2022 6 commits
-
-
Martin Atkins authored
This is a clumsy way to do this, but a pragmatic way to inform potential consumers that this part of the format is not yet finalized without having to read the docs to see our warning about that. We need to get some practical experience with a few different consumers making use of this format before we can be confident that it's designed appropriately. We're not _expecting_ to break it, but we'd like to leave the opportunity open in case we quickly learn that there's something non-ideal about this design.
-
Martin Atkins authored
-
Martin Atkins authored
Previously we were attempting to infer the checkable object address kind of a given address by whether it included "output" in the position where a resource type name would otherwise go. That was already potentially risky because we've historically not prevented a resource type named "output", and it's also a forward-compatibility hazard in case we introduce additional object kinds with entirely-new addressing schemes in future. Given that, we'll instead always be explicit about what kind of address we're storing in a wire or file format, so that we can make sure to always use the intended parser when reading an address back into memory, or return an error if we encounter a kind we're not familiar with.
-
Martin Atkins authored
This is a new-shaped representation of check results which follows the two-tiered structure of static objects and dynamic instances of objects, thereby allowing consumers to see which checkable objects exist in the configuration even if a dynamic evaluation error prevented actually expanding them all to determine their declared instances. Eventually we'll include this in the state too, but this initially adds it only to the plan in order to replace the now-deprecated experimental conditions result that was present but undocumented in Terraform v1.2.
-
Martin Atkins authored
In an earlier commit we changed the states.CheckResults model to explicitly model the config object vs. dynamic checkable object hierarchy, but neglected to update the logic in Terraform Core to take that into account when propagating the object expansion decisions from the plan phase to the apply phase. That meant that we were incorrectly classifying zero-instance resources always as having an unknown number of instances, rather than possibly being known to have zero instances. This now follows the two-level heirarchy of the data structure, which has the nice side-effect that we can remove some of the special-case methods from checks.State that we were using to bulk-load data: the data is now shaped in the appropriate way to reload the data using the same method the plan phase would've used to record the results in the first place.
-
Martin Atkins authored
This allows us to retain check results from one run into the next, so that we can react to status changes between runs and potentially report e.g. that a previously-failing check has now been fixed, or that a previously-failing check is "still failing" so that an operator can get a hint as to whether a problem is something they've just introduced or if it was already an active problem before they made a change.
-