Skip to content

Add project and silo ids to VM attestation#1114

Draft
augustuswm wants to merge 2 commits intomasterfrom
awm/add-instance-meta
Draft

Add project and silo ids to VM attestation#1114
augustuswm wants to merge 2 commits intomasterfrom
awm/add-instance-meta

Conversation

@augustuswm
Copy link
Copy Markdown

@augustuswm augustuswm commented Apr 13, 2026

This relies on vm-attest#68 to add support for including the project and silo ids in the VM instance configuration data provided by attestations. These PRs are meant as discussion points, and not intended to be merged yet. This change allows upstream callers to make richer policy decisions as project and silo ids are likely to be much more stable than VM ids. For instance if we are rolling deployments we may bring up multiple VMs and move IPs between them to roll a release forwards or backwards. It would be a lot of coordination to propagate that value to all of the policy deciders during a deploy when what we would really want is to specify a policy for all VMs in a project (or possibly with a tag in a future world).

There is not much interesting going on outside of piping the ids through. That said, it makes the API for prepare_instance_conf pretty nasty as we are passing three opaque Uuids that rely on their order to be correct. Happy to change this to something like a builder or some other pattern to avoid errors.

The primary focus of this PR though is to discuss if this the correct path to passing the data to the attestation. Notably we do not provide any access to sled metadata so as to split this conversion from concerns about exposing placement data.

@augustuswm augustuswm requested a review from flihp April 13, 2026 19:05
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