use region mapper for artifact urls

This commit is contained in:
41666 2020-12-06 23:12:56 -05:00
parent ecda7e21d2
commit 853aa3ca00

View file

@ -7,7 +7,7 @@ resource "google_cloud_run_service" "web" {
template { template {
spec { spec {
containers { containers {
image = "us-docker.pkg.dev/roleypoly/roleypoly/ui${var.ui_tag}" image = "${local.artifactBaseMap[each.key]}/ui${var.ui_tag}"
env { env {
name = "API_PUBLIC_URI" name = "API_PUBLIC_URI"