@Cyrille said in Pulumi Xen Orchestra - News:
@john.c You can already use Yaml with the Xen Orchestra Pulumi provider
name: test-yaml description: A minimal Pulumi YAML program runtime: yaml config: { 'pulumi:tags': { value: { 'pulumi:template': yaml } } } variables: poolId: fn::invoke: function: xenorchestra:getXoaPool arguments: nameLabel: "Lab" return: id netId: fn::invoke: function: xenorchestra:getXoaNetwork arguments: nameLabel: "Lab" poolId: ${poolId} return: id localStorageId: fn::invoke: function: xenorchestra:getXoaStorageRepository arguments: nameLabel: "Local Storage" return: id templateId: fn::invoke: function: xenorchestra:getXoaTemplate arguments: nameLabel: "Debian 12 Cloud-init (Hub)" poolId: ${poolId} return: id resources: vm: type: xenorchestra:Vm properties: nameLabel: "Pulumi yaml test" nameDescription: "test with pulumi yaml provider" cpus: 1 memoryMax: 1073733632 template: ${templateId} tags: - pulumi cloudConfig: | #cloud-config ssh_authorized_keys: - *** disks: - nameLabel: "OS" size: 8294967296 srId: ${localStorageId} networks: - networkId: ${netId} powerState: "Running" outputs: poolId: ${poolId} vmIp: ${vm.ipv4Addresses}
Tell us if it ins't working
Please update OP as it’s not mentioned there!