From aa470ecc7e4098637d4a70d865d87d3447fb61fe Mon Sep 17 00:00:00 2001 From: Paul Larson Date: Wed, 4 Oct 2023 15:44:40 -0500 Subject: [PATCH] Force using the stable charm in production --- terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index 9c98069b..1640e2cd 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -7,7 +7,7 @@ resource "juju_application" "testflinger" { charm { name = "testflinger-k8s" series = "jammy" - channel = "edge" + channel = var.environment == "production" ? "stable" : "edge" } config = {