From a4f17b4db44a401e06686359672aa3ebf1712320 Mon Sep 17 00:00:00 2001 From: Nim Jayawardena Date: Mon, 16 Sep 2024 15:37:14 -0400 Subject: [PATCH] chore: Use AR instead of GCR for images --- main.tf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 803ed30..2835932 100644 --- a/main.tf +++ b/main.tf @@ -19,8 +19,10 @@ data "google_project" "project" { } locals { - api_image = (var.database_type == "mysql" ? "gcr.io/sic-container-repo/todo-api" : "gcr.io/sic-container-repo/todo-api-postgres:latest") - fe_image = "gcr.io/sic-container-repo/todo-fe" + api_image = var.database_type == "mysql" + ? "us-docker.pkg.dev/google-samples/containers/jss/three-tier-web-app-api:v0.0.1" + : "us-docker.pkg.dev/google-samples/containers/jss/three-tier-web-app-api-postgres:v0.0.1" + fe_image = "us-docker.pkg.dev/google-samples/containers/jss/three-tier-web-app-fe:v0.0.1" api_env_vars_postgresql = { redis_host = google_redis_instance.main.host