Skip to content

Commit

Permalink
add force_delete and lifecycle policies to copy_images
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 23, 2024
1 parent 2657e3d commit 7c7e8f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 5 additions & 2 deletions copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -92,5 +92,8 @@ module "images" {
## region = ""
## source_password = ""
## source_username = ""
}

enable_lifecycle_policy = true
lifecycle_policy_all = true
force_delete = true
}

0 comments on commit 7c7e8f5

Please sign in to comment.