Skip to content

Commit 2a78dc8

Browse files
chore: add wildcard to tftest.hcl
Co-authored-by: Atif Ali <[email protected]>
1 parent 37cde45 commit 2a78dc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ Example: `https://github.com/coder/registry/compare/main...your-branch?template=
403403

404404
- `main.tf` - Terraform code
405405
- **Tests**:
406-
- `.tftest.hcl` files with `terraform test` (preferred for new modules)
407-
- `main.test.ts` file with `bun test` (existing modules)
406+
- `*.tftest.hcl` files with `terraform test` (to test terraform specific logoc)
407+
- `main.test.ts` file with `bun test` (to test business logic, i.e., `coder_script` to install a package.)
408408
- `README.md` - Documentation with frontmatter
409409

410410
### Every Template Must Have

0 commit comments

Comments
 (0)