Skip to content

Commit

Permalink
remove changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcervante committed Jan 16, 2025
1 parent cc25239 commit a814bf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .changes/unreleased/ENHANCEMENTS-20250115-084326.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion website/docs/language/tests/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ While Terraform executes a `terraform test` command, Terraform maintains at leas

There is always at least one state file that maintains the state of the main configuration under test. This state file is shared by all `run` blocks that do not have a `module` block specifying an alternate module to load. By default, there is also one state file per alternate module that Terraform loads. An alternate module state file is shared by all `run` blocks that execute the given module.

You can override this default behavior with the `state_key` attribute and force Terraform to use a specific state file for a given `run` block. This is useful when you want to share state between `run` blocks that do not reference the same module. The default state key is the `module` block's `source` attribute, or the empty string (`""`) if no alternate module is specified.
You can override this default behavior with the `state_key` attribute and force Terraform to use a specific state file for a given `run` block. This is useful when you want to share state between `run` blocks that do not reference the same module.

The following example uses comments to explain where the state files for each `run` block originate using the default behavior. In the below example Terraform creates and manages a total of three state files. The first state file is for the main configuration under test, the second for the setup module, and the third for the loader module.

Expand Down

0 comments on commit a814bf8

Please sign in to comment.