diff --git a/enos/modules/build_local/main.tf b/enos/modules/build_local/main.tf index 1f987ec8a8..52cdd782c6 100644 --- a/enos/modules/build_local/main.tf +++ b/enos/modules/build_local/main.tf @@ -17,6 +17,10 @@ variable "build_target" { default = "build-ui build" } +variable "edition" { + default = "oss" +} + resource "enos_local_exec" "build" { environment = { "GOOS" = "linux", @@ -24,6 +28,7 @@ resource "enos_local_exec" "build" { "CGO_ENABLED" = 0, "ARTIFACT_PATH" = var.path "BUILD_TARGET" = var.build_target + "EDITION" = var.edition } scripts = ["${path.module}/templates/build.sh"] }