v0.21.0
Pre-release
Pre-release
This version introduced a bug that breaks bats
testing.
Do not use this version.
Run terraform validate in examples/complete @nitrocode (#37)
what
- Run terraform validate in examples/complete
why
- Allow test/bats to pass in terraform module that require aliased providers
- The providers are configured correctly in the complete example so the validation should run in the correct directory instead of the module repo root
references
- Thanks to @alexjurkiewicz for pointing out that the validation could be run in examples
- Thanks to @lorengordon for pointing out this open ticket hashicorp/terraform#28490
- Relevant modules
- https://www.terraform.io/docs/cli/commands/#switching-working-directory-with-chdir