Skip to content

UID2-6791: Use Confidential Space image family in GCP Terraform template - #2876

Draft
BehnamMozafari wants to merge 3 commits into
mainfrom
bmz-UID2-6791-gcp-image-family
Draft

BehnamMozafari wants to merge 3 commits into
mainfrom
bmz-UID2-6791-gcp-image-family

Conversation

@BehnamMozafari

@BehnamMozafari BehnamMozafari commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

UID2-6791: The GCP reference Terraform resolved the Confidential Space image once at terraform apply and froze it in the instance template, so the MIG kept creating VMs on an old image. The template now references the image family, so new VMs get the newest image. The README documents how to refresh (rolling-action replace, at least every 5 months).

  • First apply rolls every VM once (the template changes). min_ready_sec goes from 60 to 600 because the MIG has no autohealing health check, so readiness is time-based; with 60s the old VM is deleted before the new operator is serving (~2m20s).
  • Pins secret-manager to 0.9.0. ~> 0.1 now resolves to 0.10.0, which needs a provider newer than the other modules allow, so a fresh terraform init fails on main today.
  • Tested in uid2-developer-project with release 5.70.159-r15, debug_mode = false: main → this PR upgrade surged a new VM and kept the old one serving; it attested with integ core on confidential-space-261100; re-plan shows no changes; the README rolling-action replace picks the newest family image with no downtime.

🤖 Generated with Claude Code

The data source resolved the image family once at apply time and froze it in the instance template, so the MIG kept creating VMs on an old image. Reference the family directly and document how to refresh.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BehnamMozafari and others added 2 commits December 1, 2026 14:54
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… flag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant