cloudstack_template

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a cloudstack_template resource with the name "my-${myResourceName}" and sets the format to VHD. The resource is associated with a hypervisor, XenServer, and is configured to use the CentOS 6.4 (64bit) operating system. The template is located at http://someurl.com/template.vhd. The resource is assigned to the zone "zone-1.

    Shortcut: tf_cloudstack_template

    resource "cloudstack_template" "${myResourceName}" {
       name = "my-${myResourceName}"
       format= "VHD"
       hypervisor = "XenServer"
       os_type = "CentOS 6.4 (64bit)"
       url = "http://someurl.com/template.vhd"
       zone = "zone-1"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.