Repository navigation
Conversation
another-rex
reviewed
Nov 25, 2026
| role = "roles/iam.workloadIdentityUser" | ||
| member = "serviceAccount:oss-vdb.svc.id.goog[default/grafana-sa]" | ||
|
|
||
| depends_on = [module.osv_pipeline] |
Contributor
There was a problem hiding this comment.
Can we make this a module, seems like there's a bunch of duplicated code between oss and oss-vdb-test
|
|
||
| # Workload Identity binding for the default Kubernetes ServiceAccount | ||
| resource "google_service_account_iam_member" "worker_sa_wi" { | ||
| count = var.enable_workload_identity ? 1 : 0 |
Contributor
There was a problem hiding this comment.
Can't just enable it for worker, also need to apply it to the custom metrics
jess-lowe
force-pushed
the
terraform_monitoring_prep
branch
from
November 26, 2026 05:20
6961625 to
ca270ec
Compare
jess-lowe
force-pushed
the
terraform_monitoring_prep
branch
from
December 2, 2026 00:36
ca270ec to
cf7f6ad
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds the remaining additive Terraform resources needed to prepare
oss-vdbandoss-vdb-testfor production Plutono / GMP dashboard serving (monitoring.osv.dev), rebased onto #6448 (osv-monitoringWorkload Identity).Details
modules/osv/gcp_apis.tf): Codifiesiap.googleapis.com(disable_on_destroy = false).environments/oss-vdb/main.tf): Reservesgoogle_compute_global_address.grafana_ingress_ip(grafana-ingress-ip) inoss-vdband exports its address as an output formonitoring.osv.devDNS configuration.environments/oss-vdb-test/main.tf): Stages a commented-outroles/monitoring.viewerbinding forosv-monitoring@oss-vdb.iam.gserviceaccount.comonoss-vdb-testso production'sgmp-frontend-testsidecar can query staging Cloud Monitoring onceenable_workload_identity = trueis applied inoss-vdb.(The dedicated
osv-monitoringSA and opt-in GKE Workload Identity pool previously drafted in this PR were superseded by #6448 and removed during rebase.)Testing
terraform fmt -check -recursive -diffpasses with zero findings acrossdeployment/terraform/.