XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    terraform xenorchestra_vm: missing name_description for disk

    Scheduled Pinned Locked Moved Development
    xoa
    4 Posts 2 Posters 633 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      moisei
      last edited by olivierlambert

      Would be nice to have an option to specify disk description in the terraform script.
      Something like:

      resource "xenorchestra_vm" "vm1" {
      ...
       disk {
          sr_id      = "111111111-22222-333-444-555555555"
          name_label = var.vm_name
          name_description = "MY DISK DESCRIPTION"
          size = 21474836480
        }
      }
      

      Thank you.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Edited your post to use the correct Markdown syntax 🙂

        The terraform script is community maintained for now, it might be a better idea to create an issue on the original repo. I don't remember if he's here on the forum.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          moisei @olivierlambert
          last edited by

          @olivierlambert done: https://github.com/terra-farm/terraform-provider-xenorchestra/issues/28
          thanks!

          moisei created this issue in terra-farm/terraform-provider-xenorchestra

          closed add name_description for the disk #28

          1 Reply Last reply Reply Quote 1
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Great! thanks 🙂

            1 Reply Last reply Reply Quote 0
            • First post
              Last post