terraform/internal/command/testdata/test/with_state_key/main.tf
Kévin Andrieux 258f91ab0c
feat: add state_key for test run blocks (#36185)
* feat: add state_alias for test run blocks

* fix: move `state_alias` to run block + rename to `state_key`

* docs: add state_key changelog entry

* docs: add state_key in run block documentation

* Revert "docs: add state_key in run block documentation"

This reverts commit ccccf62a76.

* Revert "docs: add state_key changelog entry"

This reverts commit 86e2ad8dc3.
2025-01-16 10:34:47 +01:00

11 lines
187 B
HCL

resource "test_resource" "test_id_moved" {
}
output "test_id" {
value = test_resource.test_id_moved.id
}
moved {
from = test_resource.test_id
to = test_resource.test_id_moved
}