Update conditional to set UnlimitedResourceID for Zonename as well as Zoneid
This commit is contained in:
parent
a9b86636c8
commit
1e90f986f2
|
@ -239,7 +239,7 @@ func resourceCloudStackTemplateRead(d *schema.ResourceData, meta interface{}) er
|
|||
setValueOrUUID(d, "project", t.Project, t.Projectid)
|
||||
|
||||
if t.Zoneid == "" {
|
||||
setValueOrUUID(d, "zone", t.Zonename, UnlimitedResourceID)
|
||||
setValueOrUUID(d, "zone", UnlimitedResourceID, UnlimitedResourceID)
|
||||
} else {
|
||||
setValueOrUUID(d, "zone", t.Zonename, t.Zoneid)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue