Skip to content

Commit d562466

Browse files
authored
chore: use large modules in dogfood template (#18389)
Large modules can potentially break or slow down template behaviors. Our primary dogfood template should experience this if it becomes an issue. Just trying to catch things in dogfood before we experience them in the wild.
1 parent 1d1070d commit d562466

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dogfood/coder/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ terraform {
1111
}
1212
}
1313

14+
// This module is a terraform no-op. It contains 5mb worth of files to test
15+
// Coder's behavior dealing with larger modules. This is included to test
16+
// protobuf message size limits and the performance of module loading.
17+
//
18+
// In reality, modules might have accidental bloat from non-terraform files such
19+
// as images & documentation.
20+
module "large-5mb-module" {
21+
source = "git::https://github.com/Emyrk/large-module.git"
22+
}
23+
1424
locals {
1525
// These are cluster service addresses mapped to Tailscale nodes. Ask Dean or
1626
// Kyle for help.

0 commit comments

Comments
 (0)