0
0
llucycodes42
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"
}