Skip to content

Commit

Permalink
chore: Migrate images from GCR to AR
Browse files Browse the repository at this point in the history
  • Loading branch information
NimJay committed Sep 16, 2024
1 parent ab8330c commit 7e1c614
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e1c614

Please sign in to comment.