Skip to content

CCM-17688: Updated Lifecycle Policy#245

Merged
damientobin1 merged 7 commits intomainfrom
feature/CCM-17688_update_results_bucket_lifecycle_policy
May 5, 2026
Merged

CCM-17688: Updated Lifecycle Policy#245
damientobin1 merged 7 commits intomainfrom
feature/CCM-17688_update_results_bucket_lifecycle_policy

Conversation

@damientobin1
Copy link
Copy Markdown
Contributor

@damientobin1 damientobin1 commented May 4, 2026

Description

Updated lifecycle policy of the results bucket

Context

Changed expiration policy to

delete current after 30 days and noncurrent after 7 days

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the S3 results bucket lifecycle configuration to better match the desired retention behavior for current vs. noncurrent (versioned) objects in the reporting infrastructure.

Changes:

  • Renamed the lifecycle rule id for the results bucket.
  • Set current object expiration to 30 days.
  • Reduced noncurrent version expiration to 7 days.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infrastructure/terraform/components/reporting/s3_bucket_results.tf Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
markpullan
markpullan previously approved these changes May 5, 2026
@damientobin1 damientobin1 marked this pull request as ready for review May 5, 2026 08:06
@damientobin1 damientobin1 requested a review from a team as a code owner May 5, 2026 08:06
@damientobin1 damientobin1 requested a review from a team as a code owner May 5, 2026 08:20
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

@damientobin1 damientobin1 added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit 678022a May 5, 2026
30 checks passed
@damientobin1 damientobin1 deleted the feature/CCM-17688_update_results_bucket_lifecycle_policy branch May 5, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants