Skip to content

Commit

Permalink
docs: add state_key in run block documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevineor committed Dec 11, 2024
1 parent 86e2ad8 commit ccccf62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/docs/language/tests/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Each `run` block has the following fields and blocks:
| [`providers`](#providers) | An optional `providers` attribute. | |
| [`assert`](#assertions) | Optional `assert` blocks. | |
| `expect_failures` | An optional attribute. | |
| `state_key` | An optional attribute, which can be used to test multiple run blocks on the same infrastructure | |

The `command` attribute and `plan_options` block tell Terraform which command and options to execute for each run block. The default operation, if you do not specify a `command` attribute or the `plan_options` block, is a normal Terraform apply operation.

Expand Down

0 comments on commit ccccf62

Please sign in to comment.