Skip to content

Add option to make buckets public#381

Merged
phbnf merged 1 commit into
transparency-dev:mainfrom
phbnf:publicbucket
Jun 25, 2025
Merged

Add option to make buckets public#381
phbnf merged 1 commit into
transparency-dev:mainfrom
phbnf:publicbucket

Conversation

@phbnf

@phbnf phbnf commented Jun 25, 2025

Copy link
Copy Markdown
Collaborator

Towards #104.

@phbnf
phbnf requested review from AlCutter and roger2hk June 25, 2025 13:26
@phbnf phbnf added the enhancement New feature or request label Jun 25, 2025
@phbnf
phbnf marked this pull request as ready for review June 25, 2025 13:26
resource "google_storage_bucket_iam_member" "log_bucket_object_reader" {
count = var.public_bucket ? 1 : 0
bucket = google_storage_bucket.log_bucket
role = "roles/storage.legacyObjectReader"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There is a "legacy" here. Is this the right role?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that's the one which only allows to read objects. We might want to allow listing objects later (specifically for issuers...) but we can come back to this later.

@phbnf
phbnf merged commit 058feeb into transparency-dev:main Jun 25, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants