Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing ECR lifecycle policy as a variable #110

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ravisinghkr
Copy link
Contributor

@ravisinghkr ravisinghkr commented Jan 30, 2024

  • Exposing repository_lifecycle_policy as an optional variable and making existing policy as default.
  • Making max_tagged_image_count as optional as it wont be used in case repository_lifecycle_policy is provided

@@ -64,3 +66,9 @@ variable "pull_through_cache_accounts" {
description = "A default list of accounts for the Pull Through Cache if not configured in the `pull_through_cache_setup`. Defaults to the calling account root"
default = []
}

variable "repository_lifecycle_policy" {
type = any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This possibly should be a strongly typed object and if null is passed use the default?

@ravisinghkr ravisinghkr marked this pull request as draft June 14, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants