mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-24 07:37:05 -04:00
* stacks: add deferred resource instance planned change to protobuf * stacks: add deferred resource instance to stack plan sequence * stacks: add planned change for deferred actions * stacks: refactor planned change resource instance planned moving the components out of the main function definition so that we can reuse the implementation for deferred resource instances which wraps the message used for PlannedChangeResourceInstancePlanned * stacks: track deferred changes in stackplan * add simple tests * fix tests * address comments --------- Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com> |
||
|---|---|---|
| .. | ||
| test | ||
| README.md | ||
| terraform-sources.json | ||
Synthetic source bundle for most tests
Since the tests in this package are concerned primilary with configuration evaluation and less concerned about configuration bundling or loading, most of our tests can just use subdirectories of the only package in this synthetic source bundle to avoid the inconvenience of maintaining an entire source bundle for each separate test.
To use this:
-
Make a subdirectory under
test/with a name that's related to your test case(s). -
Use the
loadMainBundleConfigForTesthelper, passing the name of your test directory as the source directory.(The helper function will automatically construct the synthetic remote source address needed to locate that subdirectory within the source bundle.)