diff --git a/README.md b/README.md index 29bf325..e5f9f7b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ # CHANGELOG * 0.0.1 -- 2024-07-22 + - add force_delete and lifecycle policies to copy_images - updated version.tf to 0.0.1 - included module.images in depends on helm charts - created changelog diff --git a/copy_images.tf b/copy_images.tf index 99c301f..8bb3eab 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -76,7 +76,7 @@ locals { } module "images" { - source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=2.0.2" + source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=tf-upgrade" profile = var.profile application_name = var.cluster_name @@ -92,5 +92,8 @@ module "images" { ## region = "" ## source_password = "" ## source_username = "" -} + enable_lifecycle_policy = true + lifecycle_policy_all = true + force_delete = true +}