You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/stacks/stackruntime/testdata/mainbundle
Matej Risek a9b67a6cdc
stacks: Don't require built-in providers to be listed under required providers. (#37234)
8 months ago
..
test stacks: Don't require built-in providers to be listed under required providers. (#37234) 8 months ago
README.md
terraform-sources.json

README.md

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 loadMainBundleConfigForTest helper, 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.)