Closed treywelsh closed 1 year ago
It seems I can't checks keys in vadition functions: template_section: ValidateFunc and ValidateDiagFunc are not yet supported on lists or sets
I'll remove this check
This is not really a bug it's more a feature as I add new attributes in virtual machine resource
Community Note
Description
This PR add a
raw
section to the VM schema, and mutualize common code parts with the template resource. Some checks are added for the virtual machine to avoid defining sections likeos
,graphics
,raw
etc. via template_section. There's also a bit of refactoring to make the code a bit more easier to understand.References
Close #464
New or Affected Resource(s)
Checklist
References
go fmt
)