Skip to content

s3 lifecycle updates#75

Merged
BCTBB merged 9 commits into
mainfrom
osquery-results-s3-lifecycle-update
Jul 29, 2025
Merged

s3 lifecycle updates#75
BCTBB merged 9 commits into
mainfrom
osquery-results-s3-lifecycle-update

Conversation

@BCTBB

@BCTBB BCTBB commented Jul 24, 2025

Copy link
Copy Markdown
Contributor
  • Added filter {} to resource aws_s3_bucket_lifecycle_configuration block(s)
  • Added filter = [] to module.s3_bucket_for_logs in addons/logging-alb/main.tf
  • Added filter = [] to module.athena-s3-bucket in addons/logging-alb/main.tf

Addresses the following warnings.

No attribute specified when one (and only one) of [rule[0].filter,rule[0].prefix] is required

╷
│ Warning: Invalid Attribute Combination
│ 
│   with module.logging_alb.module.athena-s3-bucket[0].aws_s3_bucket_lifecycle_configuration.this[0],
│   on .terraform/modules/logging_alb.athena-s3-bucket/main.tf line 219, in resource "aws_s3_bucket_lifecycle_configuration" "this":
│  219: resource "aws_s3_bucket_lifecycle_configuration" "this" {
│ 
│ 2 attributes specified when one (and only one) of [rule[0].expiration[0].date,rule[0].expiration[0].days,rule[0].expiration[0].expired_object_delete_marker] is required

@BCTBB BCTBB requested review from a team, ddribeiro and edwardsb as code owners July 24, 2025 22:25
rfairburn
rfairburn previously approved these changes Jul 29, 2025
@BCTBB BCTBB merged commit c0d008b into main Jul 29, 2025
1 of 6 checks passed
@BCTBB BCTBB deleted the osquery-results-s3-lifecycle-update branch July 29, 2025 21:19
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