Skip to content

Epic: Migrate all modules from Bun tests to Terraform tests #308

Open

Description

@matifali

This epic tracks migrating module tests from Bun-based tests to Terraform native testing (terraform test).

  • Bootstrap Terraform test runner and docs
  • Migrate coder/zed
  • Migrate coder/jetbrains
  • Migrate coder/code-server
  • Migrate coder/agentapi
  • Migrate coder/devcontainers-cli
  • Migrate coder/kiro
  • Migrate coder/jetbrains-fleet
  • Migrate coder/jetbrains-gateway
  • Migrate coder/vscode-web
  • Migrate coder/vscode-desktop
  • Migrate coder/vault-token
  • Migrate coder/vault-jwt
  • Migrate coder/vault-github
  • Migrate coder/slackme
  • Migrate coder/personalize
  • Migrate coder/kasmvnc
  • Migrate coder/jupyterlab
  • Migrate coder/jfrog-token
  • Migrate coder/jfrog-oauth
  • Migrate coder/github-upload-public-key
  • Migrate coder/git-config
  • Migrate coder/git-clone
  • Migrate coder/gcp-region
  • Migrate coder/fly-region
  • Migrate coder/dotfiles
  • Migrate coder/cursor
  • Migrate coder/coder-login
  • Migrate coder/azure-region
  • Migrate coder/aws-region
  • Migrate anomaly/tmux
  • Migrate coder-labs/gemini
  • Migrate whizus/exoscale-instance-type
  • Migrate whizus/exoscale-zone
  • Migrate thezoker/nodejs

Notes

  • Remove corresponding main.test.ts when a module gets migrated.
  • Prefer plan runs for structural assertions; use apply only when outputs are required.
  • Keep Bun harness until all modules are migrated, then remove Bun deps and tooling.

Activity

  1. matifali commented on Aug 14, 2025

    @matifali
    MemberAuthor

    @DevelopmentCats I think we can simply migrate away from Bun tests as terraform doesn't provide a great way to run tests that execute scripts.

    It is possible to use docker provider and run tests in containers if we want to use terraform exclusively.

  2. added theissue type on Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions