title: Open nebula & terraform context block error
body: <p>i was able to create vm using terraform but…
  when i use the context block im facing an issue</p>
  <p>Error: Unsupported block type</p>
  <p>on terraform.tf line 34, in resource “opennebula_template” “mytemplate”:
  34: context {</p>
  <p>Blocks of type “context” are not expected here. Did you mean to define
  argument “context”? If so, use the equals sign to assign it a value.</p>
  <p>I am adding it exactly as the guide shows in formal terraform docs in here
  <a href="https://registry.terraform.io/providers/OpenNebula/opennebula/latest/docs/resources/virtual_machine" rel="nofollow noreferrer">https://registry.terraform.io/providers/OpenNebula/opennebula/latest/docs/resources/virtual_machine</a></p>
  <pre><code>variable &quot;one_endpoint&quot; {}
  variable &quot;one_username&quot; {}
  variable &quot;one_password&quot; {}
  variable &quot;one_flow_endpoint&quot; {}
  
  provider &quot;opennebula&quot; {
    endpoint      = var.one_endpoint
    flow_endpoint = var.one_flow_endpoint
    username      = var.one_username
    password      = var.one_password
  }
  
  #########################################################################
  
  resource &quot;opennebula_image&quot; &quot;CentOS7-clone&quot; {
      clone_from_image = 35
      name             = &quot;CentOS7-clone&quot;
      datastore_id     = 1
      persistent       = false
      permissions      = &quot;660&quot;
      group            = &quot;oneadmin&quot;
  }
  
  #########################################################################
  
  resource &quot;opennebula_virtual_machine&quot; &quot;demo&quot; {
    count       = 1
    name        = &quot;centos7&quot;
    cpu         = 2
    vcpu        = 2
    memory      = 4096
    group       = &quot;oneadmin&quot;
    permissions = &quot;660&quot;
  
    context {
      NETWORK      = &quot;YES&quot;
      HOSTNAME     = &quot;$NAME&quot;
      START_SCRIPT =&quot;yum upgrade&quot;
    }
  
    graphics {
      type   = &quot;VNC&quot;
      listen = &quot;0.0.0.0&quot;
      keymap = &quot;fr&quot;
    }
  
    os {
      arch = &quot;x86_64&quot;
      boot = &quot;disk0&quot;
    }
  
    disk {
      image_id = opennebula_image.CentOS7-clone.id
      size     = 10000
      target   = &quot;vda&quot;
      driver   = &quot;qcow2&quot;
    }
  
    nic {
      model           = &quot;virtio&quot;
      network_id      = 7
      security_groups = [0]
    }
  
    vmgroup {
      vmgroup_id = 2
      role       = &quot;vm-group&quot;
    }
  
    tags = {
      environment = &quot;dev&quot;
    }
  
    timeout = 5
  }
  </code></pre>