From c4c9ff0724214e9e04f04ae49723695a7b344c9c Mon Sep 17 00:00:00 2001 From: Shion Ichikawa Date: Mon, 15 Apr 2024 20:00:38 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20add=20revision=20in=20google=5Fc?= =?UTF-8?q?loud=5Frun=5Fv2=5Fservice.traffic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- envs/dev/cloudrun.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/envs/dev/cloudrun.tf b/envs/dev/cloudrun.tf index 753f273..fdd5de1 100755 --- a/envs/dev/cloudrun.tf +++ b/envs/dev/cloudrun.tf @@ -27,7 +27,8 @@ resource "google_cloud_run_v2_service" "cloudrun-dev-main-backend" { } traffic { - percent = 100 + revision = "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST" + percent = 100 } }