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.
  1. 18 Oct, 2022 2 commits
  2. 17 Oct, 2022 1 commit
  3. 14 Oct, 2022 7 commits
  4. 13 Oct, 2022 2 commits
    • Martin Atkins's avatar
      core: Simplify our idea of "root node" and require it for DynamicExpand · 4bc1696f
      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.
      4bc1696f
    • Brian Flad's avatar
      docs/plugin-protocol: Add notes about missing configuration in ReadResource... · 8c934202
      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
      ```
      8c934202
  5. 12 Oct, 2022 2 commits
  6. 11 Oct, 2022 3 commits
    • James Bardin's avatar
      noop orphan change has nothing to apply · 3779dbc2
      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.
      3779dbc2
    • Sarah French's avatar
      Update CHANGELOG.md · 73c39944
      Sarah French authored
      73c39944
    • Sarah French's avatar
      Add Private Service Connect endpoint support to GCS backend (#31967) · 89ef27d3
      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
      89ef27d3
  7. 10 Oct, 2022 1 commit
  8. 06 Oct, 2022 10 commits
  9. 05 Oct, 2022 5 commits
  10. 04 Oct, 2022 7 commits