diff --git a/builtin/providers/cloudstack/resource_cloudstack_template.go b/builtin/providers/cloudstack/resource_cloudstack_template.go index f50316027..15c6ebec4 100644 --- a/builtin/providers/cloudstack/resource_cloudstack_template.go +++ b/builtin/providers/cloudstack/resource_cloudstack_template.go @@ -292,9 +292,9 @@ func resourceCloudStackTemplateDelete(d *schema.ResourceData, meta interface{}) func verifyTemplateParams(d *schema.ResourceData) error { format := d.Get("format").(string) - if format != "QCOW2" && format != "RAW" && format != "VHD" && format != "VMDK" { + if format != "OVA" && format != "QCOW2" && format != "RAW" && format != "VHD" && format != "VMDK" { return fmt.Errorf( - "%s is not a valid format. Valid options are 'QCOW2', 'RAW', 'VHD' and 'VMDK'", format) + "%s is not a valid format. Valid options are 'OVA','QCOW2', 'RAW', 'VHD' and 'VMDK'", format) } return nil