Skip to content

feat(gcp): support organization-wide deployment#54

Merged
vik-nullify merged 2 commits into
mainfrom
feature/gcp-org-wide-deployment
Jun 24, 2026
Merged

feat(gcp): support organization-wide deployment#54
vik-nullify merged 2 commits into
mainfrom
feature/gcp-org-wide-deployment

Conversation

@vik-nullify

@vik-nullify vik-nullify commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

Adds support for organization-wide deployment of the Nullify GCP integration, alongside the existing per-project setup. With scope = "organization" (or "folder"), Nullify can enumerate and cover every project under the organization/folder — including projects created later — from a single Terraform apply, with no per-project onboarding.

What changed

  • roles/browser binding (read-only) granted to the Nullify service account, only for scope = "organization" and scope = "folder". This lets Nullify enumerate the projects under the chosen scope so org-wide installs auto-cover current and future projects. It grants no resource-data access (hierarchy browse only) and is not granted for scope = "projects".
  • Docs — the Terraform README gains a "Deployment modes" section explaining the organization-wide one-shot model (current + future projects covered automatically) vs. specifying explicit projects; the examples/organization example is annotated accordingly.

Backward compatibility

Existing per-project installs are unaffected — no new bindings or behavior for scope = "projects", and no new variables.

Testing

terraform fmt -check -recursive and terraform validate pass (Google provider v6).

🤖 Generated with Claude Code


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

vik-nullify and others added 2 commits June 24, 2026 05:30
Add a read-only hierarchy-browse binding (roles/browser) at org and folder
scope so Nullify can enumerate projects under the chosen scope for org-wide
and folder-wide installs. Not granted for scope=projects where the customer
enumerates projects explicitly. Uses for_each over local.discovery_roles so
stable binding keys and future additional discovery roles are a one-line add.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vik-nullify vik-nullify added minor Minor version updates (features) type:feature [MINOR] Backwards-compatible feature labels Jun 24, 2026
@vik-nullify vik-nullify merged commit 02c5dd7 into main Jun 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Minor version updates (features) type:feature [MINOR] Backwards-compatible feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants