You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"namespace" {
source="terraform-ibm-modules/container-registry/ibm"version="X.Y.Z"# Replace "X.Y.Z" with a release version to lock into a specific releasenamespace_name="my-namespace"resource_group_id="xxXXxxXXxXxXXXXxxXxxxXXXXxXXXXX"images_per_repo=2
}
module"upgrade-plan" {
source="terraform-ibm-modules/container-registry/ibm//modules/plan"version="X.Y.Z"# Replace "X.Y.Z" with a release version to lock into a specific release
}
module"set_quota" {
source="terraform-ibm-modules/container-registry/ibm//modules/quotas"version="X.Y.Z"# Replace "X.Y.Z" with a release version to lock into a specific releasestorage_megabytes=5*1024# 5GiBtraffic_megabytes=500# 500 MB# Issue 324: Upgrade plan before setting quotadepends_on=[module.upgrade_plan]
}
(Optional, Integer) Determines how many images are retained in each repository when the retention policy is processed. The value -1 denotes Unlimited (all images are retained). The value 0 denotes no retention policy will be created (default)
(Optional, Bool) Determines whether untagged images are retained when the retention policy is processed. Default value is false, means untagged images can be deleted when the policy runs.