From 125314a9a70e5e5d695cafbc166a1748a6783517 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 15 Apr 2025 14:48:27 -0400 Subject: [PATCH] revert --- copy_images.tf | 6 +++--- variables.tf | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/copy_images.tf b/copy_images.tf index 878b1d7..3af88f7 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -2,7 +2,7 @@ locals { keycloak_name = "bitnami/keycloak" keycloak_key = format("%v#%v", local.keycloak_name, var.keycloak_tag) postgresql_key = format("%v#%v", "bitnami/postgresql", var.postgresql_tag) - ent_ecr_source = format("%v.%v.%v.%v", var.account_id, "dkr.ecr", var.region, "amazonaws.com/ent-images") + # ent_ecr_source = format("%v.%v.%v.%v", var.account_id, "dkr.ecr", var.region, "amazonaws.com/ent-images") image_config = [ { @@ -10,7 +10,7 @@ locals { dest_path = null name = "bitnami/keycloak" source_image = "bitnami/keycloak" - source_registry = format("%v/%v", local.ent_ecr_source, "public-ecr") + source_registry = "public.ecr.aws" source_tag = var.keycloak_tag tag = var.keycloak_tag }, @@ -19,7 +19,7 @@ locals { dest_path = null name = "bitnami/postgresql" source_image = "bitnami/postgresql" - source_registry = format("%v/%v", local.ent_ecr_source, "public-ecr") + source_registry = "public.ecr.aws" source_tag = var.postgresql_tag tag = var.postgresql_tag }, diff --git a/variables.tf b/variables.tf index aabae0e..9f73f81 100644 --- a/variables.tf +++ b/variables.tf @@ -62,6 +62,7 @@ variable "profile" { default = "" } +# tflint-ignore: terraform_unused_declarations variable "region" { description = "region name" type = string