Skip to content

Conversation

sosheskaz
Copy link
Contributor

@sosheskaz sosheskaz commented Oct 14, 2025

Adds storage class transition lifecycle rule configuration options for both current and noncurrent objects.

Copy link
Contributor

@Copilot 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 implements lifecycle transitions for object storage buckets by adding support for transitioning objects between storage classes. The implementation includes schema definitions, API integration, validation, and comprehensive test coverage.

Key changes:

  • Add transition block support to lifecycle rules with date/days/storage_class fields
  • Integrate validation for transition timing and storage class parameters
  • Include test coverage for transition-only lifecycle rules

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
go.mod Adds terraform-plugin-framework-validators dependency for input validation
examples/resources/coreweave_object_storage_bucket_versioning/resource.tf Removes trailing whitespace from example
coreweave/object_storage/resource_bucket_lifecycle_configuration_test.go Adds test case for transition-only lifecycle rules
coreweave/object_storage/resource_bucket_lifecycle_configuration.go Implements transition schema, validation, API integration, and state management

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sosheskaz sosheskaz force-pushed the feat/storage-lifecycle-transitions branch 3 times, most recently from 7df6eaf to dfff697 Compare October 14, 2025 20:08
@sosheskaz sosheskaz force-pushed the feat/storage-lifecycle-transitions branch from 91cf9f8 to a36a9fc Compare October 14, 2025 20:40
@sosheskaz sosheskaz force-pushed the feat/storage-lifecycle-transitions branch 2 times, most recently from a1295bd to c013c95 Compare October 14, 2025 20:54
@sosheskaz sosheskaz requested a review from a team October 14, 2025 20:54
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.

2 participants