chore: append template metadata to protobuf config (#20558)

Adds some extra meta data sent to provisioners. Also adds a field
`reuse_terraform_workspace` to tell the provisioner whether or not to
use the caching experiment.
This commit is contained in:
Steven Masley
2025-11-12 12:46:39 -06:00
committed by GitHub
parent 5e85663ce3
commit 9149c1e9f2
13 changed files with 665 additions and 523 deletions
+1
View File
@@ -622,6 +622,7 @@ func (t TemplateVersionBuilder) Do() TemplateVersionResponse {
}
payload, err := json.Marshal(provisionerdserver.TemplateVersionImportJob{
TemplateID: t.seed.TemplateID,
TemplateVersionID: t.seed.ID,
})
require.NoError(t.t, err)