Skip to content

Commit ccccf62

Browse files
committed
docs: add state_key in run block documentation
1 parent 86e2ad8 commit ccccf62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

website/docs/language/tests/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Each `run` block has the following fields and blocks:
9191
| [`providers`](#providers) | An optional `providers` attribute. | |
9292
| [`assert`](#assertions) | Optional `assert` blocks. | |
9393
| `expect_failures` | An optional attribute. | |
94+
| `state_key` | An optional attribute, which can be used to test multiple run blocks on the same infrastructure | |
9495

9596
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.
9697

0 commit comments

Comments
 (0)