Skip to content

Commit 3b8c8d3

Browse files
committed
chore: dogfood large modules
Large modules can potentially break or slow down template behaviors. Our primary dogfood template should experience this if it becomes an issue.
1 parent d83706b commit 3b8c8d3

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)