AWS AmazonECR: ECR lifecycle policy replication-of-deletes guidance updated
Summary
Rewrote the note about lifecycle policies and cross-Region/cross-account replication to explain that enabling replication of deletes propagates lifecycle-policy image deletions to destinations, so a matching lifecycle policy per destination is no longer required; also normalized '###### Note'/'###### Important' headings to plain text.
Security assessment
The change is a behavioral clarification of lifecycle policies under replication (image deletion propagation) plus heading-style cleanup. It does not describe a vulnerability, credential handling, or access control change, so it is only tangentially security-related (data retention).
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/lp_creation.md b/AmazonECR/latest/userguide/lp_creation.md index 35aec3c..47b5fdd 100644 --- a//AmazonECR/latest/userguide/lp_creation.md +++ b//AmazonECR/latest/userguide/lp_creation.md @@ -13 +13 @@ Use a lifecycle policy to create a set of rules that expire or archive unused re -###### Note +Note @@ -15 +15 @@ Use a lifecycle policy to create a set of rules that expire or archive unused re -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). @@ -39 +39 @@ If you are using Amazon ECR replication to make copies of a repository across di -###### Important +Important @@ -45 +45 @@ If you specify multiple tags, only the images with all specified tags are select -###### Important +Important