databricks-cli/acceptance/bundle
Denis Bilenko e5730bf57e
Use real terraform in acceptance tests (#2267)
## Changes
- Add a script install_terraform.py that downloads terraform and
provider and generates a config to use, inspired by
https://gist.github.com/pietern/1cb6b6f3e0a452328e13cdc75031105e
- Make acceptance tests run this script once before running the tests
and set the required env vars to make cli use this terraform
installation.
- Use OS-specific directory for things that are build by acceptance test
runner (CLI and terraform).

This enables acceptance tests against cloud #2242 and local test for
bundle deploy #2254.

## Tests
- Add an acceptance test for standalone terraform. This is useful to
debug terraform with TF_LOG=DEBUG to see that it uses local provider.
- Other acceptance tests are updated with regard to terraform exec path.
- The overall time for tests locally is unchanged (if terraform is
already fetched).
2025-01-31 13:53:13 +00:00
..
git-permerror Remove bundle.git.inferred (#2258) 2025-01-29 14:15:52 +00:00
help Include help output for bundle commands in acceptance tests (#2178) 2025-01-17 14:52:53 +00:00
includes/non_yaml_in_include Show an error when non-yaml files used in include section (#2201) 2025-01-23 13:58:18 +00:00
override Enable acceptance tests for manually running against the cloud (#2120) 2025-01-14 13:50:28 +00:00
paths acc: only print non-zero exit codes in errcode function (#2222) 2025-01-24 10:47:12 +01:00
quality_monitor Migrate quality_monitor_test.go to acceptance test (#2192) 2025-01-20 16:33:03 +00:00
scripts Add acceptance test for 'experimental.scripts' (#2240) 2025-01-27 15:28:33 +00:00
syncroot acc: Restore unexpected output error (#2243) 2025-01-28 10:15:32 +00:00
templates Switch to using `[` from `<` in text replacements (#2224) 2025-01-28 10:54:23 +00:00
undefined_resources Migrate bundle/tests/undefined_resources_test.go to acceptance test (#2106) 2025-01-09 15:21:24 +00:00
variables Use real terraform in acceptance tests (#2267) 2025-01-31 13:53:13 +00:00