Skip to content

Commit

Permalink
module will use creds
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 20, 2025
1 parent a209441 commit c92b194
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit c92b194

Please sign in to comment.