Skip to content

Conversation

@sheenamt
Copy link

@sheenamt sheenamt commented Aug 4, 2025

This is built on the v8.0.2 release, not the latest (soon to be reverted) v8.0.3

This fixes the warning in the abort-incomplete-multipart-upload lifecycle rule by adding an empty filter to the code block.

│ Warning: Invalid Attribute Combination
│ 
│   with module.s3_project.aws_s3_bucket_lifecycle_configuration.private_bucket,
│   on .terraform/modules/s3_document_search/main.tf line 161, in resource "aws_s3_bucket_lifecycle_configuration" "private_bucket":
│  161: resource "aws_s3_bucket_lifecycle_configuration" "private_bucket" {
│ 
│ No attribute specified when one (and only one) of
│ [rule[0].filter,rule[0].prefix] is required
│ 
│ This will be an error in a future version of the provider

@sheenamt sheenamt marked this pull request as draft August 5, 2025 03:59
@sheenamt sheenamt closed this Aug 5, 2025
@sheenamt sheenamt deleted the fix-filter-error branch August 5, 2025 04:30
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