Skip to content

feat(dns-bucket): add optional sqlworkspace S3 bucket - #191

Merged
ciiiii merged 2 commits into
masterfrom
yscai/sqlworkspace
Aug 21, 2026
Merged

feat(dns-bucket): add optional sqlworkspace S3 bucket#191
ciiiii merged 2 commits into
masterfrom
yscai/sqlworkspace

Conversation

@ciiiii

@ciiiii ciiiii commented Aug 18, 2026

Copy link
Copy Markdown
Member

Motivation

The SQL Workspace feature needs its own S3 bucket for storage, provisioned alongside the other per-poolmember buckets (velero, tiered storage, loki) in the dns-bucket module.

Modifications

  • Add aws_s3_bucket.sqlworkspace, gated on the new enable_sqlworkspace variable (default false, so existing environments are unaffected). Created in the target account, named <pm_name>-sqlworkspace-snc by default.
  • Add sqlworkspace_bucket_name to override the generated name.
  • Add the sqlworkspace_bucket output (empty string when disabled).
  • Regenerate the module README.

Account and naming follow the existing customer-account buckets (<pm_name>-cluster-backup-snc, <pm_name>-tiered-storage-snc) rather than loki. The -snc suffix is required: the bootstrap policy scopes bucket permissions to s3_bucket_pattern (default *snc*), so the name must match it for s3:CreateBucket to be authorized.

Verifying this change

  • Make sure that the change passes the CI checks.

Verified with terraform fmt -check and terraform validate in modules/dns-bucket, and exercised end to end against a test environment.

Documentation

  • doc

@ciiiii
ciiiii requested a review from a team as a code owner August 18, 2026 03:55
@github-actions github-actions Bot added the doc This pr contains a document label Aug 18, 2026
@ciiiii
ciiiii merged commit ae77276 into master Aug 21, 2026
10 checks passed
@ciiiii
ciiiii deleted the yscai/sqlworkspace branch August 21, 2026 03:02
ciiiii pushed a commit that referenced this pull request Aug 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[4.10.0](v4.9.0...v4.10.0)
(2026-08-26)


### Features

* **dns-bucket:** add optional sqlworkspace S3 bucket
([#191](#191))
([ae77276](ae77276))
* **rds:** add private PostgreSQL module
([#193](#193))
([020ae0c](020ae0c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc This pr contains a document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants