Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from hashicorp:main #3

Open
wants to merge 1,133 commits into
base: main
Choose a base branch
from
Open
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    5c109bb View commit details
    Browse the repository at this point in the history
  2. remove Execute from nodeExpandApplyableResource

    nodeExpandApplyableResource only does expansion related tasks, so remove
    the Execute method and move the logic all into DynamicExpand.
    jbardin committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    c00c235 View commit details
    Browse the repository at this point in the history
  3. make ephemeral resource work during destroy

    Ephemeral resource behavior is a strange mix of temporary values and
    existing resource types, and their operation during destroy is going to
    be more difficult to manage than normal resources.
    
    The pruneUnusedNodesTransformer is probably no longer equipped to handle
    the situation, and will probably need to be build in a different manner,
    but this minor change allows us to move forward for  now.
    jbardin committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    179c502 View commit details
    Browse the repository at this point in the history
  4. Ancestors cannot return an error

    Just like Descendants, Ancestors doesn't need to return an error.
    jbardin committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    a5a8f4b View commit details
    Browse the repository at this point in the history
  5. extend ephemeral apply tests

    jbardin committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2b53e58 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #35845 from hashicorp/s3/s3-native-locking-changelog

    backend/s3: s3 native locking changelog entry
    jar-b authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    1af86d4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6905436 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    32853e1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7780124 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    286c0a7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fdd17b0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f2d9ec7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a986288 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f9755bf View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ab3767c View commit details
    Browse the repository at this point in the history
  16. review feedback

    Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
    DanielMSchmidt and radeksimko committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3118f83 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1ba063e View commit details
    Browse the repository at this point in the history
  18. Merge pull request #35833 from hashicorp/ephemeral-values-add-tests

    Ephemeral expansion and add tests for ephemeral values
    DanielMSchmidt authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    5a9bf08 View commit details
    Browse the repository at this point in the history
  19. Merge pull request #35853 from hashicorp/jbardin/ephemeral-apply

    Apply and destroy evaluation of ephemeral resources (partial)
    jbardin authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    87cb440 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    286952b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1070ee View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    aaeefbe View commit details
    Browse the repository at this point in the history
  2. changelog: reflect the Kubernetes secret_suffix validation fix (#35820

    )
    
    * reflect the Kubernetes 'secret_suffix' validation fix
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    
    * rephrase changelog entry
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    
    ---------
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ca744e7 View commit details
    Browse the repository at this point in the history
  3. test: pass in variables during apply

    ephemeral variables need to be re-supplied
    DanielMSchmidt committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    725add6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97ba67e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae103fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6d582ec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3e7fdd0 View commit details
    Browse the repository at this point in the history
  8. fix typo

    Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
    DanielMSchmidt and radeksimko authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    18db96f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b9f2736 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    b701e15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5279e43 View commit details
    Browse the repository at this point in the history
  3. FirstAncestorsWith and MatchAncestor

    Add ancestor equivalents of FirstDescendantsWith and MatchDescendant
    jbardin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e86a357 View commit details
    Browse the repository at this point in the history
  4. only record first resource dependencies

    In configurations with long chains of dependencies, we spend a lot of
    time recording redundant dependency edges, and writing all those
    dependencies in the state.
    
    Rather than record every possible dependency edge, only record the first
    managed resource in any lineage, such that the resulting graph is
    topologically equivalent having removed many transitive edges. For some
    configurations this can save considerable time and space when handling
    the state.
    jbardin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    2977dd8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a29f265 View commit details
    Browse the repository at this point in the history
  6. more efficient depends_on

    Use the more efficient FirstAncestorsWith when connecting dependencies
    cause by `depends_on`.
    jbardin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7ad61b5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d6cd0f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    146a52a View commit details
    Browse the repository at this point in the history
  2. moved: error if not targeting a resource address (#35850)

    * moved: error if not targeting a resource address
    
    * address comments
    liamcervante authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    9be4642 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    liamcervante authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    06db25c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #35873 from hashicorp/jbardin/ancestors

    core: use more efficient methods for finding ancestors
    jbardin authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2e4a62d View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. stacks: include plan and state providers when validating external pro…

    …viders (#35877)
    
    Co-authored-by: Daniel Schmidt <danielmschmidt92@gmail.com>
    liamcervante and DanielMSchmidt authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    c7ef162 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a384d2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdc3217 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a0c7b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f920be View commit details
    Browse the repository at this point in the history
  6. refactor and simplify pruneUnusedNodesTransformer

    With the missing destroy node types sorted out, this transformer can now
    be designed around finding the nodes we need to keep for destroy
    operations, rather than the whack-a-mole game of detecting nodes we
    don't want to keep.
    
    When executing a destroy operation, we can never be certain that the
    state will contain all the data required to evaluate the entire
    configuration. This could be because of a previously failed apply
    operation, or external changes made out of band. This means that once we
    process the configuration to get the providers hooked up, we need to
    remove any nodes that correspond to configuration values which may not
    be available to evaluate.
    
    In a destroy operation we primarily need three categories of nodes to
    complete the plan and apply:
     - Nodes corresponding to values in the state
     - Providers required to destroy those values obtained from the state
     - Any node which a provider depends on, to ensure its configuration can
       be fully evaluated
    
    Other than that minimal set of nodes, the rest are no longer necessary
    and should be skipped to avoid errors which could block the apply
    operation.
    jbardin committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    c63d236 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    c8bc448 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9f5976 View commit details
    Browse the repository at this point in the history
  3. states: check root output value changes in refresh-only mode (#35812)

    * check root output values when determining plan applicability in refresh mode
    
    In refresh-only mode, we do not anticipate proposing any actions; however, a plan is marked as “applyable” if there are changes in the state between runs. Currently, a plan is considered “applyable” only when there are differences in managed resources. This approach seems to overlook changes in root output values. As a result, a plan can be marked as non-applyable, even when there are changes in the root output value, due to the lack of detected changes since only managed resources were checked.
    
    * set 'applyable' to true
    bschaatsbergen authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    098234e View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG.md

    liamcervante authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b40c1d3 View commit details
    Browse the repository at this point in the history
  5. don't error on eval of missing instances

    While in most cases a missing instance during evaluation would be a bug
    in terraform, the insertion of postconditions into instance planning has
    created a situation where not all instances will be available when
    GetResource is called. We do have a special context for evaluating self
    alone, but postconditions also need to have the module context available
    too.
    
    We may be able to come up with some other way to create an evaluation
    context which handles self more selectively, but that looks like a large
    change for a situation which should not otherwise happen. If this were
    to mask a legitimate error, the fact that an unexpected DyanamicVal were
    encountered will raise the problem again, and we can correlate that with
    the logged warning.
    jbardin committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    987d4f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a508a6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    39bd9b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Merge pull request #35895 from hashicorp/jbardin/eval-self-postcondition

    don't error on eval of missing instances
    jbardin authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    0b1dfe2 View commit details
    Browse the repository at this point in the history
  2. update CHANGELOG.md

    jbardin committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    2f2c76c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #35890 from hashicorp/jbardin/unused-ephemeral-des…

    …troy
    
    core: update destroy graph pruning to handle ephemeral resources
    jbardin authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    d73372a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. plantimestamp can be unknown during validation

    Before a timestamp is assigned during plan, the `time.Time` value will
    be the zero value for that type. This represents a case where the
    timestamp is not yet known, but the handling of that timestamp isn't
    using our usual cty value system for representing unknowns. Rather than
    refactor the use of the timestamp itself throughout the code, we can
    simply have the function return an unknown if it encounters a zero
    value.
    jbardin committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    ca7b3c0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #35902 from hashicorp/jbardin/plantimestamp-validate

    `plantimestamp` can be unknown during validation
    jbardin authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    2a7ddd9 View commit details
    Browse the repository at this point in the history
  3. update CHANGELOG.md

    jbardin committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    371c96c View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

  1. cloud: Allows object tag schema for selecting kv tagged workspaces

    When key-value tags are enabled and used in the workspace, users may
    define the tags attribute as a map of strings in the cloud block in order
    to more precicely match workspaces using those tags.
    brandonc committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    e87335a View commit details
    Browse the repository at this point in the history
  2. make syncdeps

    brandonc committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    18ca2d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. fix ephemeral evaluation during with console

    The console eval walk is a special case where only state is evaluated,
    however since ephemeral resources will never have stored state we need
    to make sure that their evaluation always returns an unknown value.
    jbardin committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    7d79c03 View commit details
    Browse the repository at this point in the history
  2. Implement the modules command

    The modules command provides a holistic view of all installed modules
    for a given root module. It also includes information on whether a
    installed module is currently referenced by configuration. As of now,
    this command only supports a machine-readable view format.
    sebasslash committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    ee1a2a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5294c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e2bb0a9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f19d17c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2f7d82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3498bc9 View commit details
    Browse the repository at this point in the history
  8. Only show referenced entries, add versioning

    This commit makes several modifications to the modules command. It
    downcases the field names in the resulting JSON string, adds a format
    version to the result. The result of this command will now only contain
    entries which have been declared in configuration, as opposed to the
    internal manifest which shows all installed modules for a working dir.
    sebasslash committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    59cea51 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ae1a62d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3e976d9 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #35914 from hashicorp/jbardin/ephemeral-eval

    fix ephemeral evaluation during with console
    jbardin authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    9863188 View commit details
    Browse the repository at this point in the history
  12. Update tfstack.mdx (#35913)

    Fix broken link for describe providers
    
    ---------
    
    Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
    ned1313 and BrianMMcClain authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    6a3a933 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1133d0e View commit details
    Browse the repository at this point in the history
  14. Merge pull request #35884 from hashicorp/sebasslash/modules-command

    `terraform modules` command
    sebasslash authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    8144156 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    9d0133a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c977f90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc2d67a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dee28f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7a130f6 View commit details
    Browse the repository at this point in the history
  6. Update internal/terraform/node_module_variable.go

    Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
    jbardin and radeksimko authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4f6a78f View commit details
    Browse the repository at this point in the history
  7. Merge pull request #35920 from hashicorp/jbardin/ephemeral-conditions

    core: check preconditions and postconditions for ephemeral resources
    jbardin authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    9a90202 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #35907 from hashicorp/brandonc/resource_tags_cloud…

    …_block
    
    cloud: Allows object tag schema for selecting key/value tagged workspaces
    brandonc authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    10530bb View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    0a266c8 View commit details
    Browse the repository at this point in the history
  2. [Do not Merge] Public beta docs for ephemeral values (#35899)

    * Merge to main
    
    * fix
    
    * Apply suggestions from code review
    
    Co-authored-by: Robin Norwood <robin.norwood@gmail.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Robin Norwood <robin.norwood@gmail.com>
    
    * Terraform format
    
    * Small fix
    
    * Add ephemeral resources page
    
    * Update website/docs/language/values/locals.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/values/locals.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/values/locals.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/values/locals.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/ephemeral.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Updates from review feedback
    
    * Add the finishing touches
    
    * Add terraform applying
    
    * Halfway through
    
    * Fix the links
    
    * One more pass of resources
    
    * Almost done only inputs outputs and locals to go
    
    * Finish inputs and outputs
    
    * Apply suggestions from code review
    
    Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
    
    * Add feedback
    
    * Make example small for now
    
    * Apply suggestions from code review
    
    Co-authored-by: Austin Valle <austinvalle@gmail.com>
    
    * Update website/docs/language/state/sensitive-data.mdx
    
    * Add example to ephemeral resource page
    
    * Reference ephemeral values in provisioner and connection blocks
    
    * Correct output command docs
    
    * Update website/docs/language/resources/provisioners/syntax.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Update website/docs/language/resources/provisioners/syntax.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * Reference provisioners and connection blocks
    
    * Apply suggestions from code review
    
    Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Robin Norwood <robin.norwood@gmail.com>
    Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
    Co-authored-by: Austin Valle <austinvalle@gmail.com>
    Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
    5 people authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    2297150 View commit details
    Browse the repository at this point in the history
  3. add discrete codepaths for ephemeral apply nodes

    It turns out the reuse of the plan nodes for ephemerals during apply was
    interfering with how checks are handled in the plan. Since checks
    already have an established pattern of use, we can avoid the whole issue
    by using only the resource apply nodes to kick of ephemeral values.
    
    This copies the subset of expansion logic needed from the resource plan
    node into the apply node. Since the apply time evaluation is much
    simpler, duplicated code is not overly complex, but we may want to
    revisit this for refactoring in the future.
    jbardin committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    270bb5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0cf751d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d71bc9c View commit details
    Browse the repository at this point in the history
  6. can't check Close call in mocked ephemeral provider

    We can't enforce the check of the close flag in mocked ephemeral
    resources, since multiple instances could call the close method while
    other instances are running.
    jbardin committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    cca1fd9 View commit details
    Browse the repository at this point in the history
  7. views: move retryLog hook to init view

    The cloud backend includes a retry hook that relies on a go-tfe implementation. Since these retry messages were not rendered through a view, the `-json` flag was not respected, leading to mixed (non-pure JSON) output in the terminal whenever retry messages were printed.
    
    Before passing the init view to the cloud backend, we ensure the retryLog hook is included in the init view.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    8635cb1 View commit details
    Browse the repository at this point in the history
  8. views: render retry messages using the view

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    f5dc158 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ccf5ac2 View commit details
    Browse the repository at this point in the history
  10. don't claim missing instances are not live

    Ephemeral instances are only removed as whole resources, so there should
    not be missing instances from an ephemeral resource. We can't error on
    missing instances, because evaluation of checks may be pulling only a
    single instance for evaluation before other sibling instances have been
    opened.
    jbardin committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    dad380f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    185867f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. command/views: Attempt to fix flaky hook test (#35927)

    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    radeksimko and rkoron007 authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    3d4dab0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #35926 from hashicorp/jbardin/ephemeral-duplicate-…

    …checkable
    
    add discrete codepaths for ephemeral apply nodes
    jbardin authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    248b10e View commit details
    Browse the repository at this point in the history
  3. prepare main for v1.11

    jbardin committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1d979a4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ee894a View commit details
    Browse the repository at this point in the history
  5. specify dev version

    jbardin committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    407f208 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    042a4d9 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. chore: initialize new view in meta backend

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    f979759 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb87888 View commit details
    Browse the repository at this point in the history
  3. Result of tsccr-helper -log-level=info gha update -latest .github/ (#…

    …35938)
    
    Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
    Configuration menu
    Copy the full SHA
    7cf7cc8 View commit details
    Browse the repository at this point in the history
  4. chore: remove the retrylog hook from the init view

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    a909304 View commit details
    Browse the repository at this point in the history
  5. views: add cloud view

    The cloud view is responsible for rendering messages related to cloud operations, presenting them to the user in either a human-readable format or as JSON output in the terminal.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    377c959 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c021638 View commit details
    Browse the repository at this point in the history
  7. cloud: Initialize a new cloud view in the backend to render messages …

    …based on view type.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    d8bfe7a View commit details
    Browse the repository at this point in the history
  8. test: use Cloud view

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    6c14e52 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    769e15b View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    79a35f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4ff263 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    756a1a7 View commit details
    Browse the repository at this point in the history
  4. restructure tests

    DanielMSchmidt committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a87b36a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a4b99ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0a71f24 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bf68ac8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e632aa View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fa44937 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3207836 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d550c97 View commit details
    Browse the repository at this point in the history
  12. docs: add a comment to the View field

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    09ddfc0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    43d616f View commit details
    Browse the repository at this point in the history
  14. Requested changes

    brandonc committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a1d179d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    600848f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8176657 View commit details
    Browse the repository at this point in the history
  17. cloud: clarify reason for guard statement

    Added a comment to explain the rationale behind the guard statement, which prevents potential nil errors during backend initialization and retryLogHook call.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    1e80cd8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5f83beb View commit details
    Browse the repository at this point in the history
  19. Merge pull request #35942 from hashicorp/TF-21933-document-cloud-bloc…

    …k-tags-behavior-in-1-10
    
    cloud: document resource k/v tag usage
    brandonc authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    f0b00c4 View commit details
    Browse the repository at this point in the history
  20. views: add PrepareMessage to cloud view interface

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c9f418d View commit details
    Browse the repository at this point in the history
  21. views: add tests for cloud view

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    ad1f3e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    558aa18 View commit details
    Browse the repository at this point in the history
  2. stacks: load credentials from config file on startup (#35952)

    * stacks: load credentials from config file on startup
    
    * delete unneeded file
    liamcervante authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    7c4aeac View commit details
    Browse the repository at this point in the history
  3. Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#35951)

    * Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
    
    Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
    - [Release notes](https://github.com/golang-jwt/jwt/releases)
    - [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
    - [Commits](golang-jwt/jwt@v4.5.0...v4.5.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/golang-jwt/jwt/v4
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * sync deps
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
    dependabot[bot] and liamcervante authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    18534b3 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    caf1042 View commit details
    Browse the repository at this point in the history
  2. views: refactor retry logic with retryHelper function

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    c71a1a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c754d95 View commit details
    Browse the repository at this point in the history
  4. ephemeral: set ephemeral variables for combined plans as well

    they are by definition the same as in the plan, but there is no reason to skip the validation step
    DanielMSchmidt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    2e026de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f484653 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c1999a2 View commit details
    Browse the repository at this point in the history
  7. avoid unknowns in OpenEphemeralResource

    Ephemeral resources can't be opened if the configuration contains
    unknown values.
    jbardin committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    4a9d46f View commit details
    Browse the repository at this point in the history
  8. test for unknown ephemeral configs

    An Ephemeral resource should not be opened at all if there are any
    unknowns in the configuration.
    jbardin committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    02bbd75 View commit details
    Browse the repository at this point in the history
  9. create a ui hook for unknown ephemeral config

    This is a stopgap to give users some feedback when an ephemeral resource
    contains unknowns and cannot be opened.
    
    There is no json hook implementation so that the machine-readable spec
    is not bound to the new output until further review. It doesn't really
    fit with the current json ui model to have messages about what isn't
    going to happen.
    jbardin committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    c2a1070 View commit details
    Browse the repository at this point in the history
  10. views: add tests for cloud view

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    93ae38d View commit details
    Browse the repository at this point in the history
  11. views: refactor RetryLog to use an elapsed time

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    94c732b View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    eccf39a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6676eef View commit details
    Browse the repository at this point in the history
  3. Update internal/terraform/context_plan_ephemeral_test.go

    Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
    jbardin and radeksimko authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    c562e0c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #35958 from hashicorp/jbardin/uknown-ephemeral-config

    Handle unknown values in ephemeral resource config
    jbardin authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    896f9e7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dacd04c View commit details
    Browse the repository at this point in the history
  6. Add go vet as a check to the Github commit actions (#31461)

    * Add go vet as a check to the Github commit actions
    
    * deliberately break to test
    
    * fix after successful test
    
    * Use  directly
    
    * fix more errors
    liamcervante authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    eeacced View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9097369 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #35903 from hashicorp/pass-ephemeral-variables-to-…

    …terraform-apply
    
    Pass ephemeral variables to terraform apply
    DanielMSchmidt authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    4a36348 View commit details
    Browse the repository at this point in the history
  9. make sure apply nodes are GraphNodeDestroyerCBD

    If an instance was forced to be CreateBeforeDestroy due to a dependent,
    and that dependent had no changes to apply, the dependent would not be
    in the graph to force the CBD status on the change, and the result would
    be lost from the state.
    
    This rarely made any difference, because the status would be restored
    during the next plan. However if the resource was immediately removed
    from the configuration, the incorrect state would be the only source of
    the destroy order, which could result in a cycle during the next apply.
    
    While it would be better to use the destroy order calculated during
    plan, when there is a newly created object its plan state is not
    stored because the instance has a null state value. This means we still
    need to recompute the CBD status again during apply until a new way to
    transfer the information from plan to apply is developed.
    
    While instances without changes are not present in the apply graph,
    their resource expansion nodes do happen to be there and hold the
    configuration (and while they were previously an implementation quirk of
    the expansion system, they now play an important role in the ephemeral
    resource evaluation). Those resource expansion nodes didn't implement
    the `GraphNodeDestroyerCBD` interface though, which was why the CBD
    status was not picked up during apply.
    
    The fix is relatively easy, move the `GraphNodeDestroyerCBD`
    implementation down to the abstract resource node, to make sure all
    resources nodes implement the behavior. The nodes which need a different
    implementation already have it, and thus will override the embedded
    methods.
    jbardin committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    96e0531 View commit details
    Browse the repository at this point in the history
  10. update go version

    jbardin committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    198ab3e View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    d807863 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #35971 from hashicorp/codeowners-update

    update codeowners so that each file at least assigns the core team
    DanielMSchmidt authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    d55512c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #35966 from hashicorp/jbardin/missing-apply-cbd

    make sure all resource apply nodes implement `GraphNodeDestroyerCBD`
    jbardin authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    7631828 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #35967 from hashicorp/jbardin/go-version

    Update to go1.23.3
    jbardin authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    a724fd2 View commit details
    Browse the repository at this point in the history
  5. Prefer kv tags when tags defined as set

    This will prevent duplicate workspace tags from being created when set tags are matched using kv bindings, or vice-versa.
    brandonc committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ad96f41 View commit details
    Browse the repository at this point in the history
  6. Fix typo

    brandonc committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    f41d5a5 View commit details
    Browse the repository at this point in the history
  7. Sensitive is not the only possible mark

    This has not applied within Terraform for a long time, but the sensitive
    function was never tested with extra marks.
    jbardin committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    1e01124 View commit details
    Browse the repository at this point in the history
  8. there are other marks besides sensitive

    The sensitive function must not strip off other marks
    jbardin committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    c4741dc View commit details
    Browse the repository at this point in the history
  9. Merge pull request #35937 from hashicorp/TF-21807-both-types-of-tags-…

    …are-duplicated-when-found-and-subsequently-updated-by-the-cli
    
    Prefer KV tags, even when tags are defined as set
    brandonc authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    5d41e01 View commit details
    Browse the repository at this point in the history
  10. backend/cloud: expose View to enable reuse in a (cloud) backend

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    f1428b3 View commit details
    Browse the repository at this point in the history
  11. views: add comments for clarity

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ae661f3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    45c38a6 View commit details
    Browse the repository at this point in the history
  13. lang functions must deal with unknown and marks

    You can't deal with marks in a function without also dealing with
    unknown. If AllowMarked is true, but AllowKnown is not, the caller will
    short-circuit the evaluation with an unknown, without being able to deal
    with marks from all arguments.
    jbardin committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    a51be5e View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2024

  1. deal with unknown marked vals in fs funcs

    Filesystem functions accepts marked values, and must also deal with
    unknowns.
    jbardin committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    651a80f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ae0174 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. copyright: add missing header

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    515897a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac54255 View commit details
    Browse the repository at this point in the history
  3. ephemeral plan diags moved to validate

    The improved handling of marks in functions has moved these diagnostics
    from plan to validate.
    jbardin committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    04aee4e View commit details
    Browse the repository at this point in the history
  4. incorrect validateCount function was hiding diags

    The validateCount function was probably implemented incorrectly to hide
    some other evaluation bug. There shouldn't be any reason to disregard
    diagnostics because the value is unknown.
    jbardin committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    297972e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #35981 from hashicorp/jbardin/ephemeral-funcs

    Functions that allow marks must also deal with unknown values
    jbardin authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    19536b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. logo: update to new design

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    05fe005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27312c0 View commit details
    Browse the repository at this point in the history
  3. github: Update CODEOWNERS (#35988)

    Make the Education team (shared) codeowners of the docs on the website so that they can approve docs-only PRs as well. We don't need to be gatekeepers for those kinds of changes.
    xiehan authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2ac7af3 View commit details
    Browse the repository at this point in the history
  4. update go-cty for better marks handling in funcs

    The main branch contains some fixes for handling marks in function
    calls, which we need for better ephemeral value support.
    jbardin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b050a7e View commit details
    Browse the repository at this point in the history
  5. sync deps

    jbardin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    1699bc2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    effc141 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #35991 from hashicorp/jbardin/go-cty-function-marks

    update go-cty to improve support for marks with unknown function arguments
    jbardin authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    82a2dee View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    50b3732 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6f58dbe View commit details
    Browse the repository at this point in the history
  10. Merge pull request #35987 from bschaatsbergen/r/fix-logo

    logo: update to new design
    bschaatsbergen authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    f25110a View commit details
    Browse the repository at this point in the history
  11. Merge pull request #35989 from hashicorp/TF-18620

    TF-18620: add write-only attributes to protobuf definitions
    DanielMSchmidt authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    fccc130 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #35990 from hashicorp/update-target-version

    move default release target to 1.11.x
    DanielMSchmidt authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    aef6bdf View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Configuration menu
    Copy the full SHA
    b358e33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b0ba4d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    247302f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f57c3c7 View commit details
    Browse the repository at this point in the history
  5. Add new auth for tencentcloud cos backend (#35888)

    * add new auth for tencentcloud cos backend
    
    * add new auth for tencentcloud cos backend
    
    * add
    SevenEarth authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    7921b13 View commit details
    Browse the repository at this point in the history
  6. Update CHANGELOG.md

    radeksimko authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    c67b22a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    effa87e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0d39334 View commit details
    Browse the repository at this point in the history
  9. fix incorrect syntax (#35878)

    from should be a direct component reference, not a string
    djschnei21 authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ca35e20 View commit details
    Browse the repository at this point in the history
  10. Warning about Structured Run Output not working with remote backend (#…

    …35986)
    
    * Added a warning about Structured Run Output not working with remote backend
    
    * Update website/docs/language/backend/remote.mdx
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    henryk-rychlik and rkoron007 authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    2b2b636 View commit details
    Browse the repository at this point in the history
  11. Fix overly-eager jsonencode (#35984)

    * Fix overly-eager jsonencode
    
    * Update internal/genconfig/generate_config_test.go
    
    ---------
    
    Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
    bplotnick and radeksimko authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    de69c22 View commit details
    Browse the repository at this point in the history
  12. Update CHANGELOG.md

    radeksimko authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    1d71a6d View commit details
    Browse the repository at this point in the history
  13. Update CHANGELOG.md

    Theses changes are being backported to 1.10 so they do not need to be marketed in the 1.11 changelog as it's not a change between 1.10 and 1.11
    radeksimko authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    a25831d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f8cb25a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    dc948f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Revert "Merge pull request #35929 from bschaatsbergen/b/fix-retry-mes…

    …sages-in-cloud-backend-json"
    
    This reverts commit f8cb25a, reversing
    changes made to a25831d.
    bschaatsbergen committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    a5d8673 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    989f31e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dda25d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. issensitive must return unknown for unknown args

    Terraform attempts to track marks as accurately as possible, but unknown
    values may not always have the same marks as they will when they become
    known. This is most easily seen with functions, which are allowed to
    return an unknown value when faced with any unknown arguments, while
    they are also allowed to manipulate the marks on the values as they see
    fit. This results in situations where the marks simply cannot be known.
    
    Terraform generally takes the stance that if an unknown has a mark, it
    will remain in the final value, but the absence of a mark is not
    indicative of the absence of any marks in the final value.
    jbardin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    b4c24c2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #36012 from hashicorp/jbardin/issensitive-unknown

    `issensitive` must return unknown for unknown args without `sensitive`
    jbardin authored Nov 15, 2024
    Configuration menu
    Copy the full SHA
    bf64925 View commit details
    Browse the repository at this point in the history
  3. update to hcl v2.23.0

    jbardin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    89d33c4 View commit details
    Browse the repository at this point in the history
  4. make syncdeps

    jbardin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    3a1324a View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Configuration menu
    Copy the full SHA
    c816275 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    449aa90 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #36015 from hashicorp/jbardin/update-hcl

    Update hcl@v2.23.0
    jbardin authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    44754c0 View commit details
    Browse the repository at this point in the history
  4. undeclared variables must be allowed during apply

    Plan allows undeclared config variables with only warnings, and that
    behavior need to be carried forward to apply now that ephemeral
    variables can be passed in at apply time.
    jbardin committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    c1f8152 View commit details
    Browse the repository at this point in the history
  5. Fix equivalence test actions (#36023)

    * fix equivalence tests
    
    * actually use message input
    liamcervante authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    840bc0c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    16fe12e View commit details
    Browse the repository at this point in the history
  7. Merge pull request #36025 from hashicorp/jbardin/undeclared-vars

    undeclared variables must be allowed during apply
    jbardin authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    9932161 View commit details
    Browse the repository at this point in the history
  8. Complete equivalence test implementation (#36029)

    * Complete equivalence test implementation
    
    * use proper github actions bot
    liamcervante authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    cacdd5b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    83f2e6e View commit details
    Browse the repository at this point in the history
  10. Update equivalence test golden files. (#36032)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    9d03e9d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    34727c5 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #35883 from kazuyainoue0124/fix/typo-infrastructure

    Fix typo: correct "infrastruture" to "infrastructure"
    crw authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    f192490 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    cad5b57 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #35900 from rfalke/main

    Clarify single-removal behavior in `trimsuffix` and `trimprefix` docs
    crw authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    fcac006 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. fixes #32423

    trujillo-adam committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    8bdc1c8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #36044 from hashicorp/docs/update-version-constrai…

    …nts-operators-reference
    
    Fix for incorrect rendering of > as ≥ in version constraints
    trujillo-adam authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    d11ae2c View commit details
    Browse the repository at this point in the history
  3. Update noisy equivalence test (#36036)

    * update noisy equivalence test
    
    * also run on opened PRs
    
    * don't need to ignore fields anymore
    liamcervante authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9402a85 View commit details
    Browse the repository at this point in the history
  4. backend/s3: upgrade guide notes for Terraform 1.10 (#36037)

    This includes sections on the introduction of S3 native state locking and the removal of deprecated root level attributes related to role assumption which have been replaced by the `assume_role` block.
    jar-b authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4a69eec View commit details
    Browse the repository at this point in the history
  5. equivalence testing: update git operations (#36056)

    * equivalence testing: use --intent-to-add to include new file diffs
    
    * also update github commit name
    liamcervante authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    3e2878f View commit details
    Browse the repository at this point in the history
  6. Update equivalence test golden files. (#36060)

    Co-authored-by: hc-github-team-tf-core <github-team-tf-core@hashicorp.com>
    Configuration menu
    Copy the full SHA
    3065fdb View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. docs: update dnf config-manager usage (#35980)

    In Fedora Linux 41, which uses DNF5, backward compatibility with DNF4 was intentionally broken. The method for adding repositories via dnf config-manager has changed to use new sub-commands, such as addrepo.
    
    Signed-off-by: Bruno Schaatsbergen git@bschaatsbergen.com
    
    Signed-off-by: Bruno Schaatsbergen git@bschaatsbergen.com
    bschaatsbergen authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    3fc282b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Configuration menu
    Copy the full SHA
    a628f8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccdd825 View commit details
    Browse the repository at this point in the history
  3. Update docs for .netrc integration with provider downloads (#36022)

    * Update docs for .netrc integration with provider downloads
    
    * Apply suggestions from code review
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    
    * tidy up after weird auto-merge
    
    ---------
    
    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    liamcervante and rkoron007 authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    af99a73 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    291c1ad View commit details
    Browse the repository at this point in the history
  5. Remove Interpolation-only expressions from website/docs files (#36065)

    * Remove Interpolation-only expressions from website/docs files
    
    Interpolation-only expressions are deprecated in Terraform v0.12.14
    See. https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.10.0/docs/rules/terraform_deprecated_interpolation.md
    
    * Revert whitespace trimming at the end of lines
    
    * Preserve interpolation-only expressions for JSON
    
    * Preserve interpolation-only expressions for < 0.11 samples
    
    * Remove Interpolation-only expressions from website/docs files
    nimzo6689 authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    b4a634c View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2024

  1. force no longer needed

    The forceDependsOn field when a remnant of when data sources were read
    during a separate refresh phase, and was now only complicating the
    dependency calls.
    jbardin committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    d488371 View commit details
    Browse the repository at this point in the history
  2. ReferenceMap.dependsOn is only used for data srcs

    The dependsOn method of the ReferenceMap is only used to resolve
    dependencies for data sources. It therefor needs to account for all
    possible dependencies, and cant rely on the same optimizations made for
    the normal AttachDependenciesTransformer. While data sources will need
    to continue keeping the entire dependency tree available, they obviously
    used far less then managed resource within normal configurations, and
    the data resource dependencies are not recorded to state at all.
    jbardin committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    6f769b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdac646 View commit details
    Browse the repository at this point in the history
  4. Limiting stored dependencies doesn't help (yet)

    Limiting the destroy dependencies stored in the state doesn't help, and
    leaves us trying to reconstruct them again during apply which is more
    difficult during partial replacement scenarios.
    jbardin committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    d1d783f View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. use a set to remove duplicates

    Due to the need to search through parent directory depends_on for data
    sources, the dependencies listed for data sources can contain numerous
    duplicates. In the worst-case configurations, with nested modules that
    have multiple depends_on entries, duplicates can be listed hundreds of
    times.
    
    While `dag.Set` is not a great generic data structure, use that for
    de-duplication because it's the same structure used internally by
    `dag.Graph` so we can be sure nodes are consistently unique.
    jbardin committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    a2553b3 View commit details
    Browse the repository at this point in the history
  2. jsonplan: deterministic relevant attribute order (#36076)

    * jsonplan: deterministic relevant attribute order
    
    * simplify sort function
    liamcervante authored Nov 25, 2024
    Configuration menu
    Copy the full SHA
    36d7e87 View commit details
    Browse the repository at this point in the history
  3. Update equivalence test golden files. (#36089)

    Co-authored-by: hc-github-team-tf-core <github-team-tf-core@hashicorp.com>
    Configuration menu
    Copy the full SHA
    5f4ea0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a88f03 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #36086 from hashicorp/jbardin/data-depends_on

    Revert some minor performance enhancements which turn into severe bottlenecks with complex configs
    jbardin authored Nov 25, 2024
    Configuration menu
    Copy the full SHA
    ce8f73a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f1bd8df View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a61958 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0ba91dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0619110 View commit details
    Browse the repository at this point in the history
  10. fix(types.mdx): implement feedback

    Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
    2 people authored and crw committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    6aabaaa View commit details
    Browse the repository at this point in the history
  11. Merge pull request #35957 from corsin-ragettli/patch-1

    feat(types.mdx): add hint for difference of tuples and lists
    crw authored Nov 25, 2024
    Configuration menu
    Copy the full SHA
    f90d2ae View commit details
    Browse the repository at this point in the history