Skip to content

Commit

Permalink
Merge pull request #36 from citizensadvice/fix-ecr-fstring
Browse files Browse the repository at this point in the history
Fix ECR lifecycle fstring, update lockfile
  • Loading branch information
MatthewCane authored Oct 4, 2023
2 parents 800aefb + cb44604 commit 2c378c9
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 89 deletions.
4 changes: 2 additions & 2 deletions ca_cdk_constructs/ecr/ecr_repository.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from aws_cdk.aws_ecr import Repository, LifecycleRule, TagStatus
from aws_cdk import Duration, aws_iam as iam, CfnOutput
from aws_cdk import Duration
from constructs import Construct


Expand Down Expand Up @@ -54,7 +54,7 @@ def __init__(
lifecycle_rules.append(
LifecycleRule(
rule_priority=20,
description="fLimit max number of images to {max_images}",
description=f"Limit max number of images to {max_images}",
max_image_count=max_images,
tag_status=TagStatus.ANY,
)
Expand Down
Loading

0 comments on commit 2c378c9

Please sign in to comment.