File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ bun run fmt:ci # Check formatting (CI mode)
2323
2424``` bash
2525# Test all modules with .tftest.hcl files
26- ./scripts/terraform_test_all.sh
26+ bun run test
2727
2828# Test specific module (from module directory)
2929terraform init -upgrade
@@ -96,6 +96,7 @@ tags: ["tag1", "tag2"]
9696### Module Testing
9797
9898- Every module MUST have ` .tftest.hcl ` test files
99+ - Optional ` main.test.ts ` files for container-based testing or complex business logic validation
99100- Tests use Docker containers with ` --network=host ` flag
100101- Linux required for testing (Docker Desktop on macOS/Windows won't work)
101102- Use Colima or OrbStack on macOS instead of Docker Desktop
@@ -156,7 +157,7 @@ Use semantic versioning for modules:
156157### Testing Workflow
157158
158159- All modules must pass ` terraform test `
159- - Use ` ./scripts/terraform_test_all.sh ` for comprehensive testing
160+ - Use ` bun run test ` for comprehensive testing
160161- Format code with ` bun run fmt ` before submission
161162- Manual testing recommended for templates
162163
You can’t perform that action at this time.
0 commit comments