Skip to content

fix(terraform): abort incomplete multipart uploads on the state bucket #185

Closed

Description

@valentinalexeev

🤖 AI agent: Infracost FinOps finding of 2026-11-02 (https://dashboard.infracost.io/org/valentinalekseev/repos/6492ea18-8efd-41f0-8081-635ad440442b/runs/ce01391a-1525-4836-b9bd-2cb72e9ad9ec). Refs #183.

Filed from the owner account at the owner's request in chat; the bot identity was not available in this session.

Finding: google_storage_bucket.tfstate (infra/terraform/bootstrap/main.tf:76): "Cloud Storage - consider deleting incomplete multipart uploads". Potential saving reported: 0.

Assessment: Terraform writes state with single uploads, so incomplete multipart uploads should not occur and the saving is zero. The fix is one block and keeps the policy clean, so accepted.

Change: add to the bucket

lifecycle_rule {
  condition { age = 1 }
  action { type = "AbortIncompleteMultipartUpload" }
}

CHANGELOG (Changed). Applies on the next terraform apply of the bootstrap (owner step).

Acceptance criterion: terraform plan of the bootstrap shows an in-place update of the bucket only; the next Infracost run has no finding for it.


Generated by Claude Code

Metadata

Metadata

Labels

AICreated by an AI agentclusterkind, gVisor, manifests

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions