From c92b19478780cf8d5f30b8b2f5783bff08e9c851 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Sun, 20 Apr 2025 16:47:47 -0400 Subject: [PATCH] module will use creds --- copy_images.tf | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/copy_images.tf b/copy_images.tf index d64455f..1888004 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -18,10 +18,9 @@ locals { source_password = data.aws_ecr_authorization_token.ecr_token.password }, { - enabled = true - dest_path = null - name = "bitnami/postgresql" - # USE DIFFERENT IMAGE + enabled = true + dest_path = null + name = "bitnami/postgresql" source_image = "bitnami/postgresql" source_registry = "public.ecr.aws" source_tag = var.postgresql_tag @@ -56,9 +55,6 @@ module "images" { force_delete = true lifecycle_policy_keep_count = 5 - source_username = local.image_config.source_username - source_password = local.image_config.source_password - destination_username = data.aws_ecr_authorization_token.token.user_name destination_password = data.aws_ecr_authorization_token.token.password }