diff --git a/stack/stack.py b/stack/stack.py index d31334e..1075786 100644 --- a/stack/stack.py +++ b/stack/stack.py @@ -170,6 +170,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: "LandsatIntermediateBucket", bucket_name=LANDSAT_INTERMEDIATE_OUTPUT_BUCKET, removal_policy=core.RemovalPolicy.DESTROY, + lifecycle_rules=[aws_s3.LifecycleRule(expiration=core.Duration.days(60))], ) self.gibs_intermediate_output_bucket = aws_s3.Bucket( @@ -177,6 +178,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: "GibsIntermediateBucket", bucket_name=GIBS_INTERMEDIATE_OUTPUT_BUCKET, removal_policy=core.RemovalPolicy.DESTROY, + lifecycle_rules=[aws_s3.LifecycleRule(expiration=core.Duration.days(60))], ) self.efs = Efs(self, "Efs", network=self.network)