AWS AmazonECR: ECR lifecycle policy preview note updated for delete replication
Summary
Same substantive rewrite as the lifecycle policy creation page: the note now explains that with replication of deletes enabled, lifecycle-policy deletions in the source registry are replicated to destinations, removing the need for a matching lifecycle policy in each destination; heading markup also normalized.
Security assessment
Documentation-only clarification of lifecycle policy preview behavior with replication of deletes; no security control, credential, or vulnerability content is introduced.
Evidence
+If you use Amazon ECR replication to make copies of a repository across different Regions or accounts, note that a lifecycle policy takes action only on repositories in the Region where you created it. If you enable replication of deletes for a replication rule, Amazon ECR replicates image deletions caused by a lifecycle policy in the source registry to the replication destinations. You don't need a matching lifecycle policy in each destination. If you don't enable replication of deletes, create a lifecycle policy in each Region and account you are replicating your repositories to. For more information, see [Replicating image deletions in Amazon ECR](./replication-delete.html).
Diff
diff --git a/AmazonECR/latest/userguide/lpp_creation.md b/AmazonECR/latest/userguide/lpp_creation.md index b53eb54..81e57fd 100644 --- a//AmazonECR/latest/userguide/lpp_creation.md +++ b//AmazonECR/latest/userguide/lpp_creation.md @@ -11 +11 @@ You can use a lifecycle policy preview to see the impact of a lifecycle policy o -###### Note +Note @@ -13 +13 @@ You can use a lifecycle policy preview to see the impact of a lifecycle policy o -If you are using Amazon ECR replication to make copies of a repository across different Regions or accounts, note that a lifecycle policy can only take an action on repositories in the Region it was created in. Therefore, if you have replication turned on you may want to create a lifecycle policy in each Region and account you are replicating your repositories to. +If you use Amazon ECR replication to make copies of a repository across different Regions or accounts, note that a lifecycle policy takes action only on repositories in the Region where you created it. If you enable replication of deletes for a replication rule, Amazon ECR replicates image deletions caused by a lifecycle policy in the source registry to the replication destinations. You don't need a matching lifecycle policy in each destination. If you don't enable replication of deletes, create a lifecycle policy in each Region and account you are replicating your repositories to. For more information, see [Replicating image deletions in Amazon ECR](./replication-delete.html). @@ -35 +35 @@ If you are using Amazon ECR replication to make copies of a repository across di -###### Important +Important @@ -41 +41 @@ If you specify multiple tags, only the images with all specified tags are select -###### Important +Important