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.
- 18 Oct, 2022 2 commits
-
-
Liam Cervante authored
* Update go-cty to latest version * go mod tidy
-
James Bardin authored
go get -u golang.org/x/net
-
- 17 Oct, 2022 1 commit
-
-
Craig Wright authored
-
- 14 Oct, 2022 7 commits
-
-
Craig Wright authored
Add Documentation Issue form template
-
Craig Wright authored
Co-authored-by:
Judith Malnick <judith.patudith@gmail.com>
-
Laura Pacilio authored
This reverts commit 84edd844.
-
Laura Pacilio authored
This reverts commit 0a7e221a.
-
Laura Pacilio authored
-
Laura Pacilio authored
-
James Bardin authored
[COMPLIANCE] Update MPL 2.0 LICENSE
-
- 13 Oct, 2022 2 commits
-
-
Martin Atkins authored
The graph walking mechanism is specified as requiring a graph with a single root, which in practice means there's exactly one node in the graph which doesn't have any dependencies. However, we previously weren't verifying that invariant is true for subgraphs returned from DynamicExpand. It was working anyway, but it's not ideal to be relying on a behavior that isn't guaranteed by our underlying infrastructure. We also previously had the RootTransformer being a bit clever and trying to avoid adding a new node if there is already only a single graph with no dependencies. That special case isn't particularly valuable since there's no harm in turning a one-node graph into a two-node graph with an explicit separate root node, and doing that allows us to assume that the root node is always present and is always exactly terraform.rootNode. Many existing DynamicExpand implementations were not producing valid graphs and were previously getting away with it. All of them now produce properly-rooted graphs that should pass validation, and we will guarantee that with an explicit check of the DynamicExpand return value before we try to walk that subgraph. For good measure we also verify that the root node is exactly terraform.rootNode, even though that isn't strictly required by our graph walker, just to help us catch potential future bugs where a DynamicExpand implementation neglects to add our singleton root node.
-
Brian Flad authored
docs/plugin-protocol: Add notes about missing configuration in ReadResource and UpgradeResourceState request messages (#31998) This opts to inline document these intentional design decisions in the protocol definition as a catch-all for it not being documented elsewhere. Protocol Buffers files updated via: ```shell make protobuf ```
-
- 12 Oct, 2022 2 commits
-
-
James Bardin authored
core: A NoOp orphan change has nothing to apply
-
hashicorp-copywrite[bot] authored
-
- 11 Oct, 2022 3 commits
-
-
James Bardin authored
An orphaned resource which plans as a NoOp change will have no config. This is not an error, but there is nothing to do since there are also no checks to validate. We still leave the change in the plan to keep the plan as complete as possible, noting all possible changes. Preventing the node from being added to the graph is awkward, because the config is attached separately from the diff transformer. This should not pose any problems however, because there is no longer any state or config linking the instance to any dependencies in the graph.
-
Sarah French authored
-
Sarah French authored
* Add support for `storage_custom_endpoint` in `gcs` backend * Add documentation for new `storage_custom_endpoint` endpoint * Empty commit to trigger Vercel deployment
-
- 10 Oct, 2022 1 commit
-
-
Brandon Croft authored
Add support for pre-apply task results in the cloud backend
-
- 06 Oct, 2022 10 commits
-
-
Nick Fagerlund authored
Clarify some comments in internal/dag
-
Nick Fagerlund authored
When reading this code to check Terraform's graph sorting behavior, I got very confused about the direction of traversal for several methods. Although some of these methods would also probably benefit from renames, this commit only updates their doc comments to use the same directional terminology that we use in the `Edge` interface (source/target).
-
Craig Wright authored
-
Craig Wright authored
Thanks! Co-authored-by:
Judith Malnick <judith.patudith@gmail.com>
-
Craig Wright authored
Thanks! Co-authored-by:
Judith Malnick <judith.patudith@gmail.com>
-
Matthew Garrell authored
Adding mention of no-code to Creating Modules section of TF Language docs
-
Laura Pacilio authored
Add callout to Continuous Validation
-
Matthew Garrell authored
-
Liam Cervante authored
-
Laura Pacilio authored
-
- 05 Oct, 2022 5 commits
-
-
Craig Wright authored
Closes https://github.com/hashicorp/terraform/issues/31552. Adds a new issue form type for documentation issues. Format discussed with docs team.
-
Laura Pacilio authored
Update backends.mdx
-
Laura Pacilio authored
-
Laura Pacilio authored
-
Laura Pacilio authored
-
- 04 Oct, 2022 7 commits
-
-
James Bardin authored
evaluation of missing instances during import
-
James Bardin authored
Because import does not yet plan new instances as part of the import process, we can end up evaluating references to resources which have no state at all. The fallback for this situation could result in slightly better values during import. The count and for_each values were technically incorrect, since the length is not known to be zero, and the single instance does have a concrete type which we can return.
-
James Bardin authored
Extract more exact provider name when checking for destroy cycles
-
James Bardin authored
-
James Bardin authored
When we checked for cycles with destroy edges around providers, it was only for providers of a different type, but one can do the same thing with the same provider under different local aliases. Check to see if the provider also contains an alias, or is defined absolutely in some other way. The absolute accuracy here isn't critical, since in most cases these edges are not required for correct results, but finding a correct and consistent method for determining when these edges are needed is going to take more research. There was also an oversight fixed here where the basic creator->destroyer edges were added _after_ the cycle checks, limiting their utility. The ordering of the additions was swapped to make sure all cycles are noticed.
-
James Bardin authored
special handling for legacy `ignore_changes = all`
-
Sarah French authored
-